dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
authorDoug Evans <xdje42@gmail.com>
Mon, 12 Jan 2015 00:39:46 +0000 (16:39 -0800)
committerDoug Evans <xdje42@gmail.com>
Mon, 12 Jan 2015 00:39:46 +0000 (16:39 -0800)
gdb/ChangeLog:

* dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.

gdb/ChangeLog
gdb/dwarf2read.c

index 75b286ccb32c3b9957177d2ee126a0ac6a235035..d8c6a1436bb71f3f83d8e1c9345d7efac34cf93b 100644 (file)
@@ -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
index 86c3a730e7b813eb92f905288d2d3dff92c0b076..96b2537f1b55eb9379b12c25fedcd164981e8d60 100644 (file)
@@ -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 : "";
     }
 }