bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28697] objdump often doesn't look for separate debug files


From: nickc at redhat dot com
Subject: [Bug binutils/28697] objdump often doesn't look for separate debug files when using "build-id" style
Date: Thu, 16 Dec 2021 14:09:15 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28697

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |nickc at redhat dot com
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Travis,

  The reason for the discrepancy is that objdump's -S option uses the BFD
library to load DWARF debug information, and this library does include to look
for debuginfo files based upon the build-id.  Objdump's other options all use
the DWARF parsing code shared by programs in the binutils/ directory, and this
code does not/did not look for build-id based debuginfo files.

  I have now checked in a patch to fix this disrepancy, so that the DWARF
parsing code in the binutils/ directory now also looks for build-id based
files.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]