Fix call of read_relative_register_raw_bytes

This commit is contained in:
Andrey Volkov 2002-05-17 19:39:52 +00:00
parent 6147b1f62b
commit 40cd92ad2f

View 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);