This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: binutils, bfd library, debug.h/c files and so on...


"H. J. Lu" <hjl@lucon.org> writes:

> On Wed, Sep 28, 2005 at 12:36:27PM -0700, Ian Lance Taylor wrote:
> > Tarmo Pikaro <tapika@yahoo.com> writes:
> > 
> > > Got libelf, dwarfdump and libdwarf, managed to compile
> > > without any problem under windows/ cygwin, but
> > > dwarfdump does not show any information about
> > > executables compiled with gcc for windows (.exe).
> > > Guessing it is not elf file format anymore, but PE
> > > (portable executable) ?!
> > 
> > That's true, Windows doesn't use ELF.  I guess I'm not sure offhand
> > which debugging format gcc uses by default on Windows.
> > 
> 
> I modified objdump to dump DWARF info. It works on ELF and Mach-O.
> I guess it should work on other formats. See
> 
> http://sourceware.org/ml/binutils/2005-09/msg00179.html
> 
> Some patches need update. But the general idea is the same.

That is useful, but it's not what the original poster wants, though.
He specifically wants the debug.h interface, as printed by objdump
--debugging (though not for DWARF).

Ian


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