From 6d74e8a103516a2ca3cec9a0cc3c114b9896d028 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Mon, 15 Sep 2014 13:58:29 +0100 Subject: [PATCH] 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. --- bfd/ChangeLog | 6 ++++++ bfd/dwarf2.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca5f7b72757..3fea46ed4eb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2014-09-15 Chen Gang + + * dwarf2.c (find_abstract_instance_name): Use 'form' instead of + 'name' for the typo issue, which related with commit + 60d77146a249ae9b51d7ce98930cdbedb2cfa352. + 2014-09-15 Andrew Bennett Matthew Fortune diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 583504bf623..1ca69b6915f 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: -- 2.30.2