aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/ia64
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-20 13:57:30 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-20 13:57:30 +0000
commit0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c (patch)
tree6155c49496c95a0fb1a93f83ec36492ecca102f8 /gdb/config/ia64
parent601cecf016bc104dc20b12630be28d3a73767ba6 (diff)
downloadgdb-0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c.zip
gdb-0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c.tar.gz
gdb-0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c.tar.bz2
* config/arm/linux.mt: Remove code protected by GDBSERVER define.
* config/arm/nm-linux.h: Likewise. * config/arm/tm-linux.h: Likewise. * config/ia64/nm-linux.h: Likewise. * config/ia64/tm-ia64.h: Likewise. * config/s390/tm-linux.h: Likewise. * config/s390/tm-s390.h: Likewise. * s390-nat.c: Likewise. * s390-tdep.c: Likewise. * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. * config/ia64/linux.mt: Likewise. * config/m68k/linux.mh: Likewise. * config/mips/linux.mt: Likewise. * config/powerpc/linux.mh: Likewise. * config/sh/linux.mt: Likewise.
Diffstat (limited to 'gdb/config/ia64')
-rw-r--r--gdb/config/ia64/linux.mt2
-rw-r--r--gdb/config/ia64/nm-linux.h7
-rw-r--r--gdb/config/ia64/tm-ia64.h51
3 files changed, 0 insertions, 60 deletions
diff --git a/gdb/config/ia64/linux.mt b/gdb/config/ia64/linux.mt
index d841f75..3a661b3 100644
--- a/gdb/config/ia64/linux.mt
+++ b/gdb/config/ia64/linux.mt
@@ -2,5 +2,3 @@
TDEPFILES= ia64-tdep.o ia64-aix-tdep.o ia64-linux-tdep.o \
solib.o solib-svr4.o solib-legacy.o
TM_FILE= tm-linux.h
-
-GDBSERVER_DEPFILES = linux-low.o linux-ia64-low.o reg-ia64.o
diff --git a/gdb/config/ia64/nm-linux.h b/gdb/config/ia64/nm-linux.h
index e00d561..0418495 100644
--- a/gdb/config/ia64/nm-linux.h
+++ b/gdb/config/ia64/nm-linux.h
@@ -34,13 +34,6 @@ extern int ia64_cannot_fetch_register (int regno);
#define CANNOT_STORE_REGISTER(regno) ia64_cannot_store_register(regno)
extern int ia64_cannot_store_register (int regno);
-#ifdef GDBSERVER
-#define REGISTER_U_ADDR(addr, blockend, regno) \
- (addr) = ia64_register_u_addr ((blockend),(regno));
-
-extern int ia64_register_u_addr(int, int);
-#endif /* GDBSERVER */
-
#define U_REGS_OFFSET 0
#define PTRACE_ARG3_TYPE long
diff --git a/gdb/config/ia64/tm-ia64.h b/gdb/config/ia64/tm-ia64.h
index 2445395..1b2baac 100644
--- a/gdb/config/ia64/tm-ia64.h
+++ b/gdb/config/ia64/tm-ia64.h
@@ -21,59 +21,8 @@
#ifndef TM_IA64_H
#define TM_IA64_H
-#if !defined(GDBSERVER)
-
#define GDB_MULTI_ARCH 1
-#else /* defines needed for GDBSERVER */
-
-/* Say how long (ordinary) registers are. This is a piece of bogosity
- used in push_word and a few other places; REGISTER_RAW_SIZE is the
- real way to know how big a register is. */
-
-#define DEPRECATED_REGISTER_SIZE 8
-
-#undef NUM_REGS
-#define NUM_REGS 590
-
-/* Some pseudo register numbers */
-
-#define PC_REGNUM IA64_IP_REGNUM
-#define SP_REGNUM IA64_GR12_REGNUM
-#define DEPRECATED_FP_REGNUM IA64_VFP_REGNUM
-
-/* Total amount of space needed to store our copies of the machine's
- register state, the array `registers'. On the ia64, all registers
- fit in 64 bits except for the floating point registers which require
- 84 bits. But 84 isn't a nice number, so we'll just allocate 128
- bits for each of these. The expression below says that we
- need 8 bytes for each register, plus an additional 8 bytes for each
- of the 128 floating point registers. */
-
-#define DEPRECATED_REGISTER_BYTES (NUM_REGS*8+128*8)
-
-/* Index within `registers' of the first byte of the space for
- register N. */
-
-#define REGISTER_BYTE(N) (((N) * 8) \
- + ((N) <= IA64_FR0_REGNUM ? 0 : 8 * (((N) > IA64_FR127_REGNUM) ? 128 : (N) - IA64_FR0_REGNUM)))
-
-/* Number of bytes of storage in the actual machine representation
- for register N. */
-
-#define REGISTER_RAW_SIZE(N) \
- ((IA64_FR0_REGNUM <= (N) && (N) <= IA64_FR127_REGNUM) ? 16 : 8)
-
-/* Largest value REGISTER_RAW_SIZE can have. */
-
-#define DEPRECATED_MAX_REGISTER_RAW_SIZE 16
-
-
-#define GDBSERVER_RESUME_REGS { IA64_IP_REGNUM, IA64_PSR_REGNUM, SP_REGNUM, IA64_BSP_REGNUM, IA64_CFM_REGNUM }
-
-#endif /* GDBSERVER */
-
-
/* Register numbers of various important registers */
/* General registers; there are 128 of these 64 bit wide registers. The