Debugging a frameless function
Mark Kettenis
mark.kettenis@xs4all.nl
Wed Apr 29 19:12:00 GMT 2009
> Date: Wed, 29 Apr 2009 21:57:31 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Wed, 29 Apr 2009 14:39:46 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: gdb@sourceware.org
>
> Thanks for responding.
>
> > Sounds like the debug info is bad.
>
> But then why does GDB 6.1 have no problems debugging the same binary?
Did GDB 6.1 have the DWARF2 frame unwinder enabled for DJGPP? If so,
another possibility is that the debug infor is right, but that GDB
somehow misinterprets it, or uses the debug info for the wrong code
address (which happens to correspond to a function that does save the
stack pointer in %ebp).
More information about the Gdb
mailing list