objdump -S omits source when input uses .gnu_debuglink

Noah Misch noah@cs.caltech.edu
Fri Jun 22 01:44:00 GMT 2007


Hi Nick,

On Tue, Jun 19, 2007 at 04:02:59PM +0100, Nick Clifton wrote:
> >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.

Your patch fixes the problem here.  Thank you!



More information about the Binutils mailing list