From 005e54bb792bc74f1168def16f35078be588871a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 11 Jan 2015 16:39:46 -0800 Subject: [PATCH] dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME. gdb/ChangeLog: * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 75b286ccb3..d8c6a1436b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-01-11 Doug Evans + + * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME. + 2015-01-11 Doug Evans PR gdb/15830 diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 86c3a730e7..96b2537f1b 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 : ""; } }