*** empty log message ***
[binutils-gdb.git] / gdb / p-typeprint.c
index 1792cf8e798667f9be8cbf2640b83bc2c5abe05a..c0752b7d78ca26ca2ccbb6acdf960f1e9d8f31c2 100644 (file)
@@ -758,7 +758,7 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show,
       break;
 
     case TYPE_CODE_ERROR:
-      fprintf_filtered (stream, "<unknown type>");
+      fprintf_filtered (stream, "%s", TYPE_ERROR_NAME (type));
       break;
 
       /* this probably does not work for enums */