jit: c++-ify gdb_block
[deliverable/binutils-gdb.git] / gdb / p-typeprint.c
index fadc44eaee87510b0f787c665ca8e6f72804e56d..f501aad549b97b7a206e24cf426e8e14556d47ac 100644 (file)
@@ -99,9 +99,9 @@ pascal_print_typedef (struct type *type, struct symbol *new_symbol,
 {
   type = check_typedef (type);
   fprintf_filtered (stream, "type ");
-  fprintf_filtered (stream, "%s = ", SYMBOL_PRINT_NAME (new_symbol));
+  fprintf_filtered (stream, "%s = ", new_symbol->print_name ());
   type_print (type, "", stream, 0);
-  fprintf_filtered (stream, ";\n");
+  fprintf_filtered (stream, ";");
 }
 
 /* If TYPE is a derived type, then print out derivation information.
This page took 0.023784 seconds and 4 git commands to generate.