Backtrace showing different value from stack?
Andrew Haley
aph@redhat.com
Tue Jun 10 10:23:00 GMT 2008
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.
More information about the Gcc-help
mailing list