diff options
author | Doug Evans <xdje42@gmail.com> | 2015-01-11 16:39:46 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2015-01-11 16:39:46 -0800 |
commit | 005e54bb792bc74f1168def16f35078be588871a (patch) | |
tree | 6230159cc661503e4f7d264f3868b0f31aba3f4b /gdb/dwarf2read.c | |
parent | 4025a8c91f1f09ac37b145bf5c0bdd21cedcdc66 (diff) | |
download | gdb-005e54bb792bc74f1168def16f35078be588871a.zip gdb-005e54bb792bc74f1168def16f35078be588871a.tar.gz gdb-005e54bb792bc74f1168def16f35078be588871a.tar.bz2 |
dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
gdb/ChangeLog:
* dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 86c3a73..96b2537 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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 : ""; } } |