diff options
author | Aaron Merey <amerey@redhat.com> | 2022-09-02 19:01:56 -0400 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2022-09-06 10:43:07 -0400 |
commit | d647c797b7386dcaca5984a3fbe9fba469771737 (patch) | |
tree | cec0182ca6580131e5658b8c245b7be2e6f1cf8d /binutils/dwarf.c | |
parent | 6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf (diff) | |
download | gdb-d647c797b7386dcaca5984a3fbe9fba469771737.zip gdb-d647c797b7386dcaca5984a3fbe9fba469771737.tar.gz gdb-d647c797b7386dcaca5984a3fbe9fba469771737.tar.bz2 |
Add debuginfod support for objdump -S
Currently objdump -S is not able to make use files downloaded from debuginfod.
This is due to bfd_find_nearest_line_discriminator being unable to locate any
separate debuginfo files in the debuginfod cache. Additionally objdump lacked
a call to debuginfod_find_source in order to download missing source files.
Fix this by using bfd_find_nearest_line_with_alt instead of
bfd_find_nearest_line_discriminator. Also add a call to
debuginfod_find_source in order to download missing source files.
Co-authored-by: Nick Clifton <nickc@redhat.com>
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions