aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-09-15 13:58:29 +0100
committerNick Clifton <nickc@redhat.com>2014-09-15 13:58:29 +0100
commit6d74e8a103516a2ca3cec9a0cc3c114b9896d028 (patch)
tree08c4abc3e3114d34bc7cae8d09fda8fcc53da51f /bfd/dwarf2.c
parent7361da2c952eb96d1869e49e35e8bc95ab42074a (diff)
downloadgdb-6d74e8a103516a2ca3cec9a0cc3c114b9896d028.zip
gdb-6d74e8a103516a2ca3cec9a0cc3c114b9896d028.tar.gz
gdb-6d74e8a103516a2ca3cec9a0cc3c114b9896d028.tar.bz2
This fixes a typo in a previous commit.
(find_abstract_instance_name): Use 'form' instead of 'name' for the typo issue, which related with commit 60d77146a249ae9b51d7ce98930cdbedb2cfa352.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 583504b..1ca69b6 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2219,7 +2219,7 @@ find_abstract_instance_name (struct comp_unit *unit,
case DW_AT_MIPS_linkage_name:
/* PR 16949: Corrupt debug info can place
non-string forms into these attributes. */
- if (is_str_attr (attr.name))
+ if (is_str_attr (attr.form))
name = attr.u.str;
break;
default: