This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fake symbols to aid debugging
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?
--
- Geoffrey Keating <geoffk@geoffk.org>