diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-09-15 13:58:29 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-09-15 13:58:29 +0100 |
commit | 6d74e8a103516a2ca3cec9a0cc3c114b9896d028 (patch) | |
tree | 08c4abc3e3114d34bc7cae8d09fda8fcc53da51f | |
parent | 7361da2c952eb96d1869e49e35e8bc95ab42074a (diff) | |
download | gdb-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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/dwarf2.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca5f7b7..3fea46e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> 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: |