From 98216c5d0266a049874cef93f7892ad2364b695b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 12 Aug 2002 19:05:33 +0000 Subject: 2002-08-12 Andrew Cagney * i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete declarations. * i386-linux-tdep.c (i386_linux_register_byte): Delete function. (i386_linux_register_raw_size): Delete function. i386_linux_init_abi): Update. * i386-tdep.c (i386_register_raw_size): Delete function. (i386_register_byte): Delete function. (i386_gdbarch_init): Update. (i386_register_size): Delete array. (i386_register_offset): Delete array. * config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro. (REGISTER_RAW_SIZE): Delete macro. * config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro. (REGISTER_BYTE): Delete macro. --- gdb/config/i386/tm-ptx.h | 18 ------------------ gdb/config/i386/tm-symmetry.h | 24 ------------------------ 2 files changed, 42 deletions(-) (limited to 'gdb/config/i386') diff --git a/gdb/config/i386/tm-ptx.h b/gdb/config/i386/tm-ptx.h index ff0d56e..0f7dcab 100644 --- a/gdb/config/i386/tm-ptx.h +++ b/gdb/config/i386/tm-ptx.h @@ -149,24 +149,6 @@ extern int ptx_register_u_addr (int, int); #undef REGISTER_BYTES #define REGISTER_BYTES ((10 * 4) + (8 * 10) + (31 * 4)) -/* Index within `registers' of the first byte of the space for register N. */ - -#undef REGISTER_BYTE -#define REGISTER_BYTE(N) \ -(((N) < ST0_REGNUM) ? ((N) * 4) : \ - ((N) < FP1_REGNUM) ? (40 + (((N) - ST0_REGNUM) * 10)) : \ - (40 + 80 + (((N) - FP1_REGNUM) * 4))) - -/* Number of bytes of storage in the actual machine representation for - register N. All registers are 4 bytes, except 387 st(0) - st(7), - which are 80 bits each. */ - -#undef REGISTER_RAW_SIZE -#define REGISTER_RAW_SIZE(N) \ -(((N) < ST0_REGNUM) ? 4 : \ - ((N) < FP1_REGNUM) ? 10 : \ - 4) - /* Largest value REGISTER_RAW_SIZE can have. */ #undef MAX_REGISTER_RAW_SIZE diff --git a/gdb/config/i386/tm-symmetry.h b/gdb/config/i386/tm-symmetry.h index e7a989b..331006a 100644 --- a/gdb/config/i386/tm-symmetry.h +++ b/gdb/config/i386/tm-symmetry.h @@ -225,30 +225,6 @@ switch (regno) { \ #undef REGISTER_BYTES #define REGISTER_BYTES ((10 * 4) + (8 * 10) + (31 * 4)) -/* Index within `registers' of the first byte of the space for - register N. */ - -#undef REGISTER_BYTE -#define REGISTER_BYTE(N) \ -(((N) < 3) ? ((N) * 4) : \ -((N) < 5) ? ((((N) - 2) * 10) + 2) : \ -((N) < 8) ? ((((N) - 5) * 4) + 32) : \ -((N) < 14) ? ((((N) - 8) * 10) + 44) : \ - ((((N) - 14) * 4) + 104)) - -/* Number of bytes of storage in the actual machine representation - * for register N. All registers are 4 bytes, except 387 st(0) - st(7), - * which are 80 bits each. - */ - -#undef REGISTER_RAW_SIZE -#define REGISTER_RAW_SIZE(N) \ -(((N) < 3) ? 4 : \ -((N) < 5) ? 10 : \ -((N) < 8) ? 4 : \ -((N) < 14) ? 10 : \ - 4) - /* Nonzero if register N requires conversion from raw format to virtual format. */ -- cgit v1.1