Fix call of read_relative_register_raw_bytes
authorAndrey Volkov <avolkov@transas.com>
Fri, 17 May 2002 19:39:52 +0000 (19:39 +0000)
committerAndrey Volkov <avolkov@transas.com>
Fri, 17 May 2002 19:39:52 +0000 (19:39 +0000)
gdb/h8300-tdep.c

index c90e8c6a8dbe4f3ffef90be412fe0555f904dabd..c0250f51be9c129bd3e871428a75f9ce8881debb 100644 (file)
@@ -877,7 +877,7 @@ h8300_print_register_hook (int regno)
       /* EXR register */
       unsigned char b[REGISTER_SIZE];
       unsigned char l;
-      read_relative_register_raw_bytes (regno, b);
+      frame_register_read (selected_frame, regno, b);
       l = b[REGISTER_VIRTUAL_SIZE (EXR_REGNUM) - 1];
       printf_unfiltered ("\t");
       printf_unfiltered ("T-%d - - - ",  (l & 0x80) != 0);