diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-19 16:55:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-19 16:55:13 +0000 |
commit | f3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf (patch) | |
tree | 4132eed4ed6724dab37f7611abaf7f2ab919c3a6 /binutils/ChangeLog | |
parent | 3734bec8336f6f33927ab99460cb681035c2ca4f (diff) | |
download | gdb-f3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf.zip gdb-f3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf.tar.gz gdb-f3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf.tar.bz2 |
Fix discrepancies in nm's --line-number output by adding support for the DW_AT_specification DWARF Attttribute.
PR 25676
bfd * dwarf2.c (struct varinfo): Add unit_offset field to record the
location of the varinfo in the unit's debug info data. Change the
type of the stack field to a boolean.
(lookup_var_by_offset): New function. Returns the varinfo
structure for the variable described at the given offset in the
unit's debug info.
(scan_unit_for_symbols): Add support for variables which have the
DW_AT_specification attribute.
binutils* testsuite/binutils-all/dw4.s: New test source file.
* testsuite/binutils-all/nm.exp: Run the new test.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d012f07..9b33199 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2020-03-19 Nick Clifton <nickc@redhat.com> + + PR 25676 + * testsuite/binutils-all/dw4.s: New test source file. + * testsuite/binutils-all/nm.exp: Run the new test. + 2020-03-19 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (process_symbol_table): Use unsigned long for si. |