diff options
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 3f0295a..6e79c55 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -338,7 +338,7 @@ legacy_register_to_value (struct frame_info *frame, int regnum, struct type *type, void *to) { char from[MAX_REGISTER_SIZE]; - frame_read_register (frame, regnum, from); + get_frame_register (frame, regnum, from); DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL (regnum, type, from, to); } |