fake symbols to aid debugging
Alan Modra
amodra@bigpond.net.au
Tue Jul 29 06:21:00 GMT 2003
On Mon, Jul 28, 2003 at 09:16:04PM -0700, Geoff Keating wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
>
> > On Mon, Jul 28, 2003 at 11:11:07PM -0400, Daniel Jacobowitz wrote:
> > > Would it be feasible for the linker to
> > > generate a DWARF compilation unit for these stubs, and fill it with
> > > DW_AT_trampoline markers?
> >
> > Yes, I could do that. Doesn't solve my disassembly problem though,
> > does it? Even if gdb is clever enough to rummage through dwarf info
> > for calls via stubs, I'd like to have objdump -d print useful symbols.
>
> Why not change objdump so that it either:
> - understands appropriate bits of DWARF; or
> - understands stubs?
Making objdump understand DWARF might be the best option. I probably
should be emitting DWARF for the stubs anyway.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list