gdb: add type::name / type::set_name
[deliverable/binutils-gdb.git] / gdb / riscv-tdep.c
index c1c466f1a10317702e0f9afe5f2e077d99097e78..e4edd7ca3e81b7a2c6c5f7bf56611d51c28381b8 100644 (file)
@@ -544,7 +544,7 @@ riscv_fpreg_d_type (struct gdbarch *gdbarch)
       append_composite_type_field (t, "float", bt->builtin_float);
       append_composite_type_field (t, "double", bt->builtin_double);
       TYPE_VECTOR (t) = 1;
-      TYPE_NAME (t) = "builtin_type_fpreg_d";
+      t->set_name ("builtin_type_fpreg_d");
       tdep->riscv_fpreg_d_type = t;
     }
 
This page took 0.027232 seconds and 4 git commands to generate.