aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-04-07 17:47:23 +0000
committerCary Coutant <ccoutant@google.com>2011-04-07 17:47:23 +0000
commit5d8e6b4d11a1f8679e29c0b5787646134b8c3b13 (patch)
tree07a0b7b3e87ec1955cdd301ea701d9d6c5ef257c /bfd/dwarf2.c
parent80518809de5514f9a66a73879c363965e7c56b1d (diff)
downloadgdb-5d8e6b4d11a1f8679e29c0b5787646134b8c3b13.zip
gdb-5d8e6b4d11a1f8679e29c0b5787646134b8c3b13.tar.gz
gdb-5d8e6b4d11a1f8679e29c0b5787646134b8c3b13.tar.bz2
* dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 3826856..3db2395 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2164,6 +2164,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
break;
case DW_AT_abstract_origin:
+ case DW_AT_specification:
func->name = find_abstract_instance_name (unit, &attr);
break;