diff options
author | Nick Clifton <nickc@redhat.com> | 2020-11-13 16:02:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-11-13 16:02:39 +0000 |
commit | 50ea0877550b5fc2c31a44576cdba1b51897eb2c (patch) | |
tree | 7a33ac1022b30062a55fa3116676fbb16eb590c7 /binutils/ChangeLog | |
parent | 5a7cf52794e4284a9ab7ea1a8b6c6ae8de94a276 (diff) | |
download | gdb-50ea0877550b5fc2c31a44576cdba1b51897eb2c.zip gdb-50ea0877550b5fc2c31a44576cdba1b51897eb2c.tar.gz gdb-50ea0877550b5fc2c31a44576cdba1b51897eb2c.tar.bz2 |
Fix readelf's and objdump's dislplay of DWO links when multiple links are present.
PR 26829
* dwarf.c (struct dwo_info): Add cu_offset field.
(add_dwo_info): Add cu_offset parameter. Record in new dwo_info
struct.
(add_dwo_name): Add cu_offset field.
(add_dwo_dir): Add cu_offset field.
(add_dwo_id): Add cu_offset field.
(read_and_display_attr_value): Pass cu_offset to dwo recording
functions.
(load_separate_debug_files): Accumulate name, dir and id values
and display once for each CU.
* testsuite/binutils-all/dwo.sL Use a separate CU for the second
dwo link.
* testsuite/binutils-all/readelf.k2: Update expected output.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4419246..6770c9b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,20 @@ +2020-11-13 Nick Clifton <nickc@redhat.com> + + PR 26829 + * dwarf.c (struct dwo_info): Add cu_offset field. + (add_dwo_info): Add cu_offset parameter. Record in new dwo_info + struct. + (add_dwo_name): Add cu_offset field. + (add_dwo_dir): Add cu_offset field. + (add_dwo_id): Add cu_offset field. + (read_and_display_attr_value): Pass cu_offset to dwo recording + functions. + (load_separate_debug_files): Accumulate name, dir and id values + and display once for each CU. + * testsuite/binutils-all/dwo.sL Use a separate CU for the second + dwo link. + * testsuite/binutils-all/readelf.k2: Update expected output. + 2020-11-11 Bernd Edlinger <bernd.edlinger@hotmail.de> * dwarf.c (display_debug_rnglists_list): Only bias the |