Re: Backtrace showing different value from stack?

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

 



Philipp Marek wrote:

> Note: it's entirely possible that I'm trashing the stack somewhere. I'd
> just like to know why GDB shows something different for "bt" and the
> "manual" stack dump.

gdb uses a bunch of heuristics along with the debug information
to do its backtraces.  These heuristics don't always work, and the
debug information might be incorrect.

Andrew.

[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