Hi,
i want to debug my application using gdb in offload mode. Unfortunately i could not find exact way to debug an offload application using GDB. This (https://software.intel.com/en-us/articles/debugging-intel-xeon-phi-appli...) articles talks about debugging remotely, natively using GDB. It seems there is eclipse plugin for debugging in offload mode(i can not use eclipse). I want to know is there any way I can debug my application using GDB?
I tried running my application using gdb-mic <executable>. My application has some offloaded code in middle. When i run it is giving me segmentation fault. i am not able to fback trace to identify the method which is creating problem on MIC. I am attaching screen shots of error.
I am not able to see rouitne names using gdb-mic. How to get routine names and line number from where the problem is created?
Can some please help me on this?
Thanks
sivaramakrishna