diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-05-07 12:58:51 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-05-07 12:58:51 +0000 |
commit | 7bbcf283071c5971093c78e9e5655fe1b115df0b (patch) | |
tree | 6db91246578164b5a1ce31381e95df9bc20cbf2e /gdb/remote-rdp.c | |
parent | 4657573b80193b4716f3559b3bfef32fae0f974e (diff) | |
download | fsf-binutils-gdb-7bbcf283071c5971093c78e9e5655fe1b115df0b.zip fsf-binutils-gdb-7bbcf283071c5971093c78e9e5655fe1b115df0b.tar.gz fsf-binutils-gdb-7bbcf283071c5971093c78e9e5655fe1b115df0b.tar.bz2 |
* arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define.
(ARM_MAX_REGISTER_VIRTUAL_SIZE): Define.
* arm-tdep.c (arm_store_return_value): Use them.
Use FP_REGISTER_RAW_SIZE when setting the FPA return value.
* remote-rdp.c (remote_rdp_fetch_register): Use
ARM_MAX_REGISTER_RAW_SIZE.
(remote_rdp_store_register): Likewise.
Diffstat (limited to 'gdb/remote-rdp.c')
-rw-r--r-- | gdb/remote-rdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c index f6ccf1e..d713a67 100644 --- a/gdb/remote-rdp.c +++ b/gdb/remote-rdp.c @@ -612,7 +612,7 @@ remote_rdp_fetch_register (int regno) } else { - char buf[MAX_REGISTER_RAW_SIZE]; + char buf[ARM_MAX_REGISTER_RAW_SIZE]; if (regno < 15) rdp_fetch_one_register (1 << regno, buf); else if (regno == ARM_PC_REGNUM) @@ -642,7 +642,7 @@ remote_rdp_store_register (int regno) } else { - char tmp[MAX_REGISTER_RAW_SIZE]; + char tmp[ARM_MAX_REGISTER_RAW_SIZE]; read_register_gen (regno, tmp); if (regno < 15) rdp_store_one_register (1 << regno, tmp); |