diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-03-25 16:52:42 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-03-25 16:52:42 +0000 |
commit | 7a5ea0d4f115edf01ba0d65f52b2a3769a0859cd (patch) | |
tree | 488229819f9bfbd25802e2dd05ee321a0215bce5 /gdb/remote-rdp.c | |
parent | 5a580b3ac2af13bb20af5e0fd15904840c01f66d (diff) | |
download | gdb-7a5ea0d4f115edf01ba0d65f52b2a3769a0859cd.zip gdb-7a5ea0d4f115edf01ba0d65f52b2a3769a0859cd.tar.gz gdb-7a5ea0d4f115edf01ba0d65f52b2a3769a0859cd.tar.bz2 |
* arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
INT_REGISTER_SIZE.
(arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
FP_REGISTER_VIRTUAL_SIZE.
* arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
of DEPRECATED_REGISTER_RAW_SIZE.
(arm_register_type): Add gdbarch argument.
(arm_register_raw_size, arm_register_virtual_size): Delete.
(arm_register_byte, arm_extract_return_value)
(arm_store_return_value, arm_get_longjmp_target): Update references
to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
(arm_gdbarch_init): Likewise. Don't set
deprecated_register_raw_size, deprecated_register_virtual_size,
deprecated_max_register_raw_size,
deprecated_max_register_virtual_size, or
deprecated_max_register_virtual_type. Do set register_type.
* arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
(ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
(FP_REGISTER_VIRTUAL_SIZE): Delete.
(INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
(FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
* arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
INT_REGISTER_SIZE.
* remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_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 2db0a91..eab68ea 100644 --- a/gdb/remote-rdp.c +++ b/gdb/remote-rdp.c @@ -630,7 +630,7 @@ remote_rdp_fetch_register (int regno) } else { - char buf[ARM_MAX_REGISTER_RAW_SIZE]; + char buf[MAX_REGISTER_SIZE]; if (regno < 15) rdp_fetch_one_register (1 << regno, buf); else if (regno == ARM_PC_REGNUM) @@ -660,7 +660,7 @@ remote_rdp_store_register (int regno) } else { - char tmp[ARM_MAX_REGISTER_RAW_SIZE]; + char tmp[MAX_REGISTER_SIZE]; deprecated_read_register_gen (regno, tmp); if (regno < 15) rdp_store_one_register (1 << regno, tmp); |