bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29075] objdump -S does not support debuginfod


From: nickc at redhat dot com
Subject: [Bug binutils/29075] objdump -S does not support debuginfod
Date: Mon, 08 Aug 2022 15:10:08 +0000

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

--- Comment #15 from Nick Clifton <nickc at redhat dot com> ---
I may be confused (again) but I think that there are two problems here.

1. The debug information necessary to convert an address into a source code
location is held by the debuginfod system (either locally in a cache or on a
remote server) and the BFD library does not support debuginfod...

2. The source code is also being held by debuginfod, and so if "objdump -S" is
going to work, it needs to use the debuginfod_find_source() function.

The question I am worried about is whether we should be adding debuginfod
support to the BFD library - and so adding another dependency to the binutils
in general - or just to the objdump program - which will localize the changes,
but mean that other users of the BFD library will not benefit from debuginfod
support.

We already have support for configuring the use of debuginfod by the tools in
the binutils/ sub-directory, so the objdump-only change would be simpler.  But
the BFD library change would have a wider effect.

The other issue is finding the time to actually write this code.  If someone is
volunteering then I would be very happy to leave it to them ... :-)

-- 
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]