This fixes a typo in a previous commit.
authorChen Gang <gang.chen.5i5j@gmail.com>
Mon, 15 Sep 2014 12:58:29 +0000 (13:58 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 15 Sep 2014 12:58:29 +0000 (13:58 +0100)
 (find_abstract_instance_name): Use 'form' instead of
'name' for the typo issue, which related with commit
60d77146a249ae9b51d7ce98930cdbedb2cfa352.

bfd/ChangeLog
bfd/dwarf2.c

index ca5f7b7..3fea46e 100644 (file)
@@ -1,3 +1,9 @@
+2014-09-15  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * 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  <andrew.bennett@imgtec.com>
            Matthew Fortune  <matthew.fortune@imgtec.com>
 
index 583504b..1ca69b6 100644 (file)
@@ -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: