Print registers not saved in the frame as "<not saved>" instead of "<optimized out>".
[deliverable/binutils-gdb.git] / gdb / mi / mi-main.c
index a8405799d9b0b3c4b786f4e938805398e010e696..ea31367a825042023fe9cc13e4d7d1f710a0e9b1 100644 (file)
@@ -1161,7 +1161,7 @@ output_register (struct frame_info *frame, int regnum, int format,
 {
   struct gdbarch *gdbarch = get_frame_arch (frame);
   struct ui_out *uiout = current_uiout;
-  struct value *val = get_frame_register_value (frame, regnum);
+  struct value *val = value_of_register (regnum, frame);
   struct cleanup *tuple_cleanup;
   struct value_print_options opts;
   struct ui_file *stb;
This page took 0.024121 seconds and 4 git commands to generate.