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/arm-tdep.h | |
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/arm-tdep.h')
-rw-r--r-- | gdb/arm-tdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h index 0fad4fd..e7c5651 100644 --- a/gdb/arm-tdep.h +++ b/gdb/arm-tdep.h @@ -45,6 +45,10 @@ enum gdb_regnum { ARM_LAST_FP_ARG_REGNUM = ARM_F3_REGNUM }; +/* Used in target-specific code when we need to know the size of the + largest type of register we need to handle. */ +#define ARM_MAX_REGISTER_RAW_SIZE 12 +#define ARM_MAX_REGISTER_VIRTUAL_SIZE 8 /* Size of integer registers. */ #define INT_REGISTER_RAW_SIZE 4 |