gdb: remove TYPE_NAME macro
[deliverable/binutils-gdb.git] / gdb / riscv-tdep.c
index e4edd7ca3e81b7a2c6c5f7bf56611d51c28381b8..dae6520f1f854cabadc4282ec75a6225a263c4ad 100644 (file)
@@ -576,8 +576,8 @@ riscv_register_type (struct gdbarch *gdbarch, int regnum)
       if (flen == 8
           && type->code () == TYPE_CODE_FLT
           && TYPE_LENGTH (type) == flen
-          && (strcmp (TYPE_NAME (type), "builtin_type_ieee_double") == 0
-              || strcmp (TYPE_NAME (type), "double") == 0))
+          && (strcmp (type->name (), "builtin_type_ieee_double") == 0
+              || strcmp (type->name (), "double") == 0))
         type = riscv_fpreg_d_type (gdbarch);
     }
 
This page took 0.023295 seconds and 4 git commands to generate.