This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Debugging a frameless function
> 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).