diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-03 03:09:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-03 03:09:33 +0000 |
commit | 9ea89f9cd51ad694cdce86b23efa551966b9db8f (patch) | |
tree | 6a241cde106ada37755d29c8a454f7fd26422efe /gdb/gdbarch.h | |
parent | 8407f2c07aa4057cc28d893d2de2a6ea3a0b092d (diff) | |
download | gdb-9ea89f9cd51ad694cdce86b23efa551966b9db8f.tar.gz |
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_register_raw_size)
(deprecated_register_virtual_size:int): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* cris-tdep.c (cris_register_size): Delete.
(cris_gdbarch_init): Update.
* alpha-tdep.c (alpha_register_raw_size)
(alpha_register_virtual_size): Delete.
(alpha_gdbarch_init): Update.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index f381fec2e6c..f971a1d6b30 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -487,66 +487,6 @@ extern void set_gdbarch_deprecated_register_byte (struct gdbarch *gdbarch, gdbar #define DEPRECATED_REGISTER_BYTE(reg_nr) (gdbarch_deprecated_register_byte (current_gdbarch, reg_nr)) #endif -/* If all registers have identical raw and virtual sizes and those - sizes agree with the value computed from REGISTER_TYPE, - DEPRECATED_REGISTER_RAW_SIZE can be deleted. See: maint print - registers. */ - -#if defined (DEPRECATED_REGISTER_RAW_SIZE) -/* Legacy for systems yet to multi-arch DEPRECATED_REGISTER_RAW_SIZE */ -#if !defined (DEPRECATED_REGISTER_RAW_SIZE_P) -#define DEPRECATED_REGISTER_RAW_SIZE_P() (1) -#endif -#endif - -extern int gdbarch_deprecated_register_raw_size_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_REGISTER_RAW_SIZE_P) -#error "Non multi-arch definition of DEPRECATED_REGISTER_RAW_SIZE" -#endif -#if !defined (DEPRECATED_REGISTER_RAW_SIZE_P) -#define DEPRECATED_REGISTER_RAW_SIZE_P() (gdbarch_deprecated_register_raw_size_p (current_gdbarch)) -#endif - -typedef int (gdbarch_deprecated_register_raw_size_ftype) (int reg_nr); -extern int gdbarch_deprecated_register_raw_size (struct gdbarch *gdbarch, int reg_nr); -extern void set_gdbarch_deprecated_register_raw_size (struct gdbarch *gdbarch, gdbarch_deprecated_register_raw_size_ftype *deprecated_register_raw_size); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_REGISTER_RAW_SIZE) -#error "Non multi-arch definition of DEPRECATED_REGISTER_RAW_SIZE" -#endif -#if !defined (DEPRECATED_REGISTER_RAW_SIZE) -#define DEPRECATED_REGISTER_RAW_SIZE(reg_nr) (gdbarch_deprecated_register_raw_size (current_gdbarch, reg_nr)) -#endif - -/* If all registers have identical raw and virtual sizes and those - sizes agree with the value computed from REGISTER_TYPE, - DEPRECATED_REGISTER_VIRTUAL_SIZE can be deleted. See: maint print - registers. */ - -#if defined (DEPRECATED_REGISTER_VIRTUAL_SIZE) -/* Legacy for systems yet to multi-arch DEPRECATED_REGISTER_VIRTUAL_SIZE */ -#if !defined (DEPRECATED_REGISTER_VIRTUAL_SIZE_P) -#define DEPRECATED_REGISTER_VIRTUAL_SIZE_P() (1) -#endif -#endif - -extern int gdbarch_deprecated_register_virtual_size_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_REGISTER_VIRTUAL_SIZE_P) -#error "Non multi-arch definition of DEPRECATED_REGISTER_VIRTUAL_SIZE" -#endif -#if !defined (DEPRECATED_REGISTER_VIRTUAL_SIZE_P) -#define DEPRECATED_REGISTER_VIRTUAL_SIZE_P() (gdbarch_deprecated_register_virtual_size_p (current_gdbarch)) -#endif - -typedef int (gdbarch_deprecated_register_virtual_size_ftype) (int reg_nr); -extern int gdbarch_deprecated_register_virtual_size (struct gdbarch *gdbarch, int reg_nr); -extern void set_gdbarch_deprecated_register_virtual_size (struct gdbarch *gdbarch, gdbarch_deprecated_register_virtual_size_ftype *deprecated_register_virtual_size); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_REGISTER_VIRTUAL_SIZE) -#error "Non multi-arch definition of DEPRECATED_REGISTER_VIRTUAL_SIZE" -#endif -#if !defined (DEPRECATED_REGISTER_VIRTUAL_SIZE) -#define DEPRECATED_REGISTER_VIRTUAL_SIZE(reg_nr) (gdbarch_deprecated_register_virtual_size (current_gdbarch, reg_nr)) -#endif - /* See gdbint.texinfo, and PUSH_DUMMY_CALL. */ extern int gdbarch_unwind_dummy_id_p (struct gdbarch *gdbarch); |