Debugging a frameless function
Daniel Jacobowitz
drow@false.org
Wed Apr 29 19:23:00 GMT 2009
On Wed, Apr 29, 2009 at 09:57:31PM +0300, Eli Zaretskii wrote:
> > Sounds like the debug info is bad.
>
> But then why does GDB 6.1 have no problems debugging the same binary?
I have no idea.
> > Check manually, using readelf -wi (and -wo if location lists are in
> > use).
>
> I cannot use readelf, because DJGPP executables are not ELF files.
Objdump has similar options, if your binutils is recent enough. I
don't know how recent that is. I believe it's objdump -W.
Mark's got a good point - some older GCC's just botch the debug info.
What compiler are we looking at here?
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list