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 | c5c9f22a1ad34ad9d20b7d55b5b30bade4ac779c (patch) | |
tree | 3898659c1102c8c5b48317cd61d4020703001f60 /gdb/remote-rdp.c | |
parent | 1b7188486c37e4d86ef5fc23f73a01137329b522 (diff) | |
download | gdb-c5c9f22a1ad34ad9d20b7d55b5b30bade4ac779c.tar.gz |
* 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 f6ccf1e812b..d713a678781 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); |