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
	60d77146a2.
This commit is contained in:
Chen Gang 2014-09-15 13:58:29 +01:00 committed by Nick Clifton
parent 7361da2c95
commit 6d74e8a103
2 changed files with 7 additions and 1 deletions

View 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>

View 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: