diff options
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index f4f3ead..1e83942 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -289,7 +289,7 @@ value_of_register (int regnum, struct frame_info *frame) DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL (regnum, register_type (current_gdbarch, regnum), raw_buffer, VALUE_CONTENTS_RAW (reg_val)); } - else if (REGISTER_RAW_SIZE (regnum) == REGISTER_VIRTUAL_SIZE (regnum)) + else if (REGISTER_RAW_SIZE (regnum) == DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum)) memcpy (VALUE_CONTENTS_RAW (reg_val), raw_buffer, REGISTER_RAW_SIZE (regnum)); else @@ -298,7 +298,7 @@ value_of_register (int regnum, struct frame_info *frame) REGISTER_NAME (regnum), regnum, REGISTER_RAW_SIZE (regnum), - REGISTER_VIRTUAL_SIZE (regnum)); + DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum)); VALUE_LVAL (reg_val) = lval; VALUE_ADDRESS (reg_val) = addr; VALUE_REGNO (reg_val) = regnum; |