aboutsummaryrefslogtreecommitdiff
path: root/gdb/cris-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-03 02:02:24 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-03 02:02:24 +0000
commitf42accbe7716215000a57d249d71abe32784c9fe (patch)
treeade32fdfb2f90b0344693abe0e859bef7495d136 /gdb/cris-tdep.c
parent45c9dd4485ec307127d656a02e19011c26770445 (diff)
downloadgdb-f42accbe7716215000a57d249d71abe32784c9fe.zip
gdb-f42accbe7716215000a57d249d71abe32784c9fe.tar.gz
gdb-f42accbe7716215000a57d249d71abe32784c9fe.tar.bz2
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_register_bytes): Delete. * gdbarch.h, gdbarch.c: Re-generate. * regcache.c (deprecated_register_bytes): New function. * regcache.h (deprecated_register_bytes): Declare. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sh64-tdep.c (sh64_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * remote.c (init_remote_state): Update. * remote-vx.c (vx_prepare_to_store): Update. * remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update. * irix5-nat.c (fetch_core_registers): Update. * cris-tdep.c (cris_register_bytes_ok): Update. * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 0d1123d..be90dbf 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -1320,7 +1320,7 @@ cris_register_name (int regno)
static int
cris_register_bytes_ok (long bytes)
{
- return (bytes == DEPRECATED_REGISTER_BYTES);
+ return (bytes == deprecated_register_bytes ());
}
/* Extract from an array regbuf containing the raw register state a function
@@ -3850,8 +3850,6 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
internal_error (__FILE__, __LINE__, "cris_gdbarch_init: unknown CRIS version");
}
- set_gdbarch_deprecated_register_bytes (gdbarch, register_bytes);
-
/* Returns the register offset for the first byte of register regno's space
in the saved register state. */
set_gdbarch_deprecated_register_byte (gdbarch, cris_register_offset);