PATCHES: Add DWARF dump to objdump

H. J. Lu hjl@lucon.org
Thu Sep 29 17:47:00 GMT 2005


On Thu, Sep 29, 2005 at 09:46:19AM -0700, Eric Christopher wrote:
> >>
> >>Do you have more bfd mach-o bits sitting around for some of this?
> >>
> >>
> >
> >No, I don't. I don't think the current bfd knows mach-o relocations.
> >But it is good enough to dump DWARF info in mach-o executables.
> 
> Current bfd doesn't know about mach-o much at all, though the gdb that
> Apple ships uses bfd so there's some minimal work in there for
> object file reading.

BTW, I tested it with gcc 4.0 on Darwin/x86 using -gdwarf-2 to generate
DWARF info. It seems to work OK.


H.J.



More information about the Binutils mailing list