binutils, bfd library, debug.h/c files and so on...

H. J. Lu hjl@lucon.org
Wed Sep 28 20:49:00 GMT 2005


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.


H.J.



More information about the Binutils mailing list