dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
gdb/ChangeLog: * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
This commit is contained in:
parent
4025a8c91f
commit
005e54bb79
|
@ -1,3 +1,7 @@
|
|||
2015-01-11 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
|
||||
|
||||
2015-01-11 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
PR gdb/15830
|
||||
|
|
|
@ -7704,7 +7704,8 @@ compute_delayed_physnames (struct dwarf2_cu *cu)
|
|||
struct fn_fieldlist *fn_flp
|
||||
= &TYPE_FN_FIELDLIST (mi->type, mi->fnfield_index);
|
||||
physname = dwarf2_physname (mi->name, mi->die, cu);
|
||||
fn_flp->fn_fields[mi->index].physname = physname ? physname : "";
|
||||
TYPE_FN_FIELD_PHYSNAME (fn_flp->fn_fields, mi->index)
|
||||
= physname ? physname : "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue