diff options
author | Alan Modra <amodra@gmail.com> | 2021-11-22 10:16:01 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-01-18 11:19:14 +1030 |
commit | e2c0149e8b0ce12accb8f4b02cbbeff3e91e4737 (patch) | |
tree | a78964fad7a87ad3c1755ced1c621f0198392dd7 /gdb/gnu-nat.c | |
parent | 48e3e6aec8a4f37d00ea6c0da3ab45e76490e3db (diff) | |
download | gdb-e2c0149e8b0ce12accb8f4b02cbbeff3e91e4737.zip gdb-e2c0149e8b0ce12accb8f4b02cbbeff3e91e4737.tar.gz gdb-e2c0149e8b0ce12accb8f4b02cbbeff3e91e4737.tar.bz2 |
PR28029, debuginfod tests
binutils/NEWS says of the change in --process-links semantics:
If other debug section display options are also enabled (eg
--debug-dump=info) then the contents of matching sections in both the main
file and the separate debuginfo file *will* be displayed. This is because in
most cases the debug section will only be present in one of the files.
Implying that debug info is dumped without --process-links. Indeed
that appears to be the case for readelf. This does the same for
objdump.
PR 28029
* objdump.c (dump_bfd): Do not exit early when !is_mainfile
&& !processlinks, instead just exclude non-debug output.
(dump_dwarf): Add is_mainfile parameter and pass to
dump_dwarf_section.
(dump_dwarf_section): Only display debug sections when
!is_mainfile and !process_links.
Diffstat (limited to 'gdb/gnu-nat.c')
0 files changed, 0 insertions, 0 deletions