This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Dumping DWARF info with objdump (Darwin/i386)
On Wed, Sep 14, 2005 at 10:50:24PM -0700, Eric Christopher wrote:
> >
> >I have patches to add "-W/--dwarf" to objdump. Since objdump uses bfd
> >to get relocated section contents, it works better on RELA .o files.
> >Otherthan that, there are no differences between "readelf -w" and
> >"objdump -W/--dwarf". I also have a patch to support "-W/--dwarf"
> >on Darwin/i386. Let me know if they should be in the GNU binutils.
> >Otherwise, I will keep them in the Linux binutils.
>
> I'd like to see it, of course :) Though doesn't some of this require
> at least
> minimal bfd support for mach-o?
The current mach-o support in bfd is enough for dumping DWARF info.
H.J.