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

            Bug ID: 26595
           Summary: objdump/readelf debuginfod client not invoked for
                    altdebug dwz file
           Product: binutils
           Version: 2.34
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: amerey at redhat dot com, woodard at redhat dot com
  Target Milestone: ---

The debuginfod client code in objdump is appropriately invoked in
--dwarf=follow-links mode, but it seems only for the main detached .debug file,
but not its dependent .dwz file.

To reproduce on f32:

% export DEBUGINFOD_URLS=https://debuginfod.elfutils.org/
% rm -rf ~/.cache/debuginfod_client
% objdump --dwarf=follow-links -W /lib64/libboost_system.so.1.69.0
[observe incomplete data, observe reference to dwz buildid]
% ls ~/.cache/debuginfod_client
[observe only main boost_system .debug file, not dwz one]

Same behaviour with readelf:

% readelf --debug-dump=follow-links -w /lib64/libboost_system.so.1.69.0

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

Reply via email to