objdump -S omits source when input uses .gnu_debuglink

Nick Clifton nickc@redhat.com
Sat Jun 23 08:29:00 GMT 2007


Hi Andreas,

> And here is a patch to fix that.

Thanks!

> 2007-06-22  Andreas Schwab  <schwab@suse.de>
> 
> 	* configure.in (--with-separate-debug-dir): New option.
> 	* configure: Regenerate.
>         * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR.
> 	* Makefile.in: Regenerate.
>         * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to
> 	bfd_follow_gnu_debuglink.
> 	(_bfd_dwarf2_find_line): Likewise.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list