This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging a frameless function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]