diff options
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 4 |
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); |