Use common_val_print in mi-main.c
[deliverable/binutils-gdb.git] / gdb / mi / mi-main.c
index d0a3b2887440683fd1a64bc1acbd31b4c067e90a..68cbcdd4fcd4f70433847e03e407e3b1cd2e47dd 100644 (file)
@@ -1120,9 +1120,7 @@ output_register (struct frame_info *frame, int regnum, int format,
 
   get_formatted_print_options (&opts, format);
   opts.deref_ref = 1;
-  val_print (value_type (val),
-            value_embedded_offset (val), 0,
-            &stb, 0, val, &opts, current_language);
+  common_val_print (val, &stb, 0, &opts, current_language);
   uiout->field_stream ("value", stb);
 }
 
This page took 0.024343 seconds and 4 git commands to generate.