aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ptrace.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-03-19 16:55:13 +0000
committerNick Clifton <nickc@redhat.com>2020-03-19 16:55:13 +0000
commitf3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf (patch)
tree4132eed4ed6724dab37f7611abaf7f2ab919c3a6 /gdb/inf-ptrace.c
parent3734bec8336f6f33927ab99460cb681035c2ca4f (diff)
downloadgdb-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 'gdb/inf-ptrace.c')
0 files changed, 0 insertions, 0 deletions