[Top][All Lists]

[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: Fri, 26 Aug 2022 12:49:25 +0000


--- Comment #24 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Aaron Merey from comment #22)
Hi Aaron,

> Created attachment 14299 [details]

Further testing has revealed another problem:  The patched objdump.c calls
bfd_elf_find_nearest_line_with_alt() even for targets which do not use the
ELF file format.  (Which are therefore built without bfd/elf.c and hence do
not define bfd_elf_find_nearest_line_with_alt).

The are file formats, eg PE, which can use DWARF debug information, so 
ideally what you need to do is to add a new vector to the bfd_target
structure (defined in bfd/targets.c) and a new macro to call it (like
the ones in bfd/bfd.c), plus initialisers for this new field in all the
various target specific initialiser files.  Which is a lot of hassle I
know, but it is the proper way to solve this problem.


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]