gdb: remove TYPE_NAME macro
[deliverable/binutils-gdb.git] / gdb / value.c
index df14232acd0b7a6d6061e18f2e0dc7953308c788..cb860509f80547c8a32dc1e5dea68b22a1fb59d4 100644 (file)
@@ -1001,9 +1001,9 @@ check_type_length_before_alloc (const struct type *type)
 
   if (max_value_size > -1 && length > max_value_size)
     {
-      if (TYPE_NAME (type) != NULL)
+      if (type->name () != NULL)
        error (_("value of type `%s' requires %u bytes, which is more "
-                "than max-value-size"), TYPE_NAME (type), length);
+                "than max-value-size"), type->name (), length);
       else
        error (_("value requires %u bytes, which is more than "
                 "max-value-size"), length);
This page took 0.030176 seconds and 4 git commands to generate.