objdump -S omits source when input uses .gnu_debuglink

Nick Clifton nickc@redhat.com
Tue Jun 19 15:03:00 GMT 2007


Hi Noah,

> When an object's debugging information resides in a separate file, linked via a
> .gnu_debuglink section, `objdump -S' does not show source code; the output is
> rigorously identical to that of `objdump -d'.

Hmm, this was not quite as straightforward as I would have hoped, but I 
think there is a way to do it.  Please could you try out the attached 
patch and let me know if it works for you.

Cheers
   Nick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dwarf2.c.patch
Type: text/x-patch
Size: 16528 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070619/ac4e3a20/attachment.bin>


More information about the Binutils mailing list