Re: gcc and stack trace: only filename + offset displayed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux