PR pascal/11349.
[deliverable/binutils-gdb.git] / gdb / p-valprint.c
index d38aa421f1df0407167b99c574877b06b48a7036..98908afcb47e38caa3eb28ae9a0e8fda35212bca 100644 (file)
@@ -544,6 +544,9 @@ pascal_value_print (struct value *val, struct ui_file *stream,
                    const struct value_print_options *options)
 {
   struct type *type = value_type (val);
+  struct value_print_options opts = *options;
+
+  opts.deref_ref = 1;
 
   /* If it is a pointer, indicate what it points to.
 
@@ -570,7 +573,7 @@ pascal_value_print (struct value *val, struct ui_file *stream,
          fprintf_filtered (stream, ") ");
        }
     }
-  return common_val_print (val, stream, 0, options, current_language);
+  return common_val_print (val, stream, 0, &opts, current_language);
 }
 
 
This page took 0.040002 seconds and 4 git commands to generate.