aboutsummaryrefslogtreecommitdiff
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
parent80518809de5514f9a66a73879c363965e7c56b1d (diff)
downloadgdb-5d8e6b4d11a1f8679e29c0b5787646134b8c3b13.zip
gdb-5d8e6b4d11a1f8679e29c0b5787646134b8c3b13.tar.gz
gdb-5d8e6b4d11a1f8679e29c0b5787646134b8c3b13.tar.bz2
* dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/dwarf2.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2237656..d61c115 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-07 Cary Coutant <ccoutant@google.com>
+
+ * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.
+
2011-04-07 Paul Brook <paul@codesourcery.com>
* elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is
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;