On 04/17/2011 07:35 PM, Jonathan Wakely wrote:
Are you compiling with -g ? Are you using GDB 7.0 or later?
Just to clarify: in gdb I have a full stacktrace if I make a breakpoint (e.g. on an exception constructor). However, I cannot use gdb if the program already made any CUDA calls. It just results in havoc. So I am either trying to fake the GPU calls and use debugger, or use exceptions with a backtrace, and it is the runtime backtrace_symbols() call that does not work as usual.
Edek