aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-12 19:05:33 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-12 19:05:33 +0000
commit98216c5d0266a049874cef93f7892ad2364b695b (patch)
tree641397f056c9dd75075b54e19b4f376a1c8a5a8d /gdb/config/i386
parentd1764264f94d16c0f1d268424e04716fc92d0015 (diff)
downloadgdb-98216c5d0266a049874cef93f7892ad2364b695b.zip
gdb-98216c5d0266a049874cef93f7892ad2364b695b.tar.gz
gdb-98216c5d0266a049874cef93f7892ad2364b695b.tar.bz2
2002-08-12 Andrew Cagney <cagney@redhat.com>
* 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.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/tm-ptx.h18
-rw-r--r--gdb/config/i386/tm-symmetry.h24
2 files changed, 0 insertions, 42 deletions
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. */