aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-05 14:34:17 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-05 14:34:17 +0000
commit6f009c8ac5a34ac63b10ccab6d4d05df91099b0b (patch)
treeb9cf687fd63463da7ac11632c8fb0f907675bb62
parent9c8dbfa93743cdd33e6502bc2e2359212b742949 (diff)
downloadgdb-6f009c8ac5a34ac63b10ccab6d4d05df91099b0b.zip
gdb-6f009c8ac5a34ac63b10ccab6d4d05df91099b0b.tar.gz
gdb-6f009c8ac5a34ac63b10ccab6d4d05df91099b0b.tar.bz2
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/vax/xm-vax.h: Delete file. * Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete. * config/vax/xm-vaxult2.h: Delete file. * config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h. * config/vax/vaxult2.mh (XM_FILE): Delete. * config/vax/xm-vaxult.h: Delete file. * config/vax/vaxult.mh (XM_FILE): Delete. * config/vax/xm-vaxbsd.h: Delete file. * config/vax/vaxbsd.mh (XM_FILE): Delete.
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/Makefile.in7
-rw-r--r--gdb/config/djgpp/fnchange.lst1
-rw-r--r--gdb/config/vax/vaxbsd.mh1
-rw-r--r--gdb/config/vax/vaxult.mh2
-rw-r--r--gdb/config/vax/vaxult2.mh2
-rw-r--r--gdb/config/vax/xm-vax.h65
-rw-r--r--gdb/config/vax/xm-vaxbsd.h7
-rw-r--r--gdb/config/vax/xm-vaxult.h10
-rw-r--r--gdb/config/vax/xm-vaxult2.h9
10 files changed, 10 insertions, 104 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7aa71a7..7bced57 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,15 @@
2004-08-05 Andrew Cagney <cagney@gnu.org>
+ * config/vax/xm-vax.h: Delete file.
+ * Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
+ * config/vax/xm-vaxult2.h: Delete file.
+ * config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
+ * config/vax/vaxult2.mh (XM_FILE): Delete.
+ * config/vax/xm-vaxult.h: Delete file.
+ * config/vax/vaxult.mh (XM_FILE): Delete.
+ * config/vax/xm-vaxbsd.h: Delete file.
+ * config/vax/vaxbsd.mh (XM_FILE): Delete.
+
* gdbarch.sh (deprecated_frame_saved_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ad2618d..d4ff645 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1190,13 +1190,6 @@ gdb1$(EXEEXT): gdb$(EXEEXT)
rm -f gdb1$(EXEEXT)
cp gdb$(EXEEXT) gdb1$(EXEEXT)
-# FIXME. These are not generated by "make depend" because they only are there
-# for some machines.
-# But these rules don't do what we want; we want to hack the foo.o: tm.h
-# dependency to do the right thing.
-xm-vaxult.h: xm-vax.h
-xm-vaxbsd.h: xm-vax.h
-
# Put the proper machine-specific files first, so M-. on a machine
# specific routine gets the one for the correct machine. (FIXME: those
# files go in twice; we should be removing them from the main list).
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index 92cb14b..49a5fd5 100644
--- a/gdb/config/djgpp/fnchange.lst
+++ b/gdb/config/djgpp/fnchange.lst
@@ -109,7 +109,6 @@
@V@/gdb/config/rs6000/tm-rs6000ly.h @V@/gdb/config/rs6000/tm-rs6kly.h
@V@/gdb/config/rs6000/tm-rs6000-aix4.h @V@/gdb/config/rs6000/tm-rs6kaix4.h
@V@/gdb/config/sparc/tm-sparclynx.h @V@/gdb/config/sparc/tm-splynx.h
-@V@/gdb/config/vax/xm-vaxult2.h @V@/gdb/config/vax/xm-vaxut2.h
@V@/gdb/f-exp.tab.c @V@/gdb/f-exp_tab.c
@V@/gdb/gdbtk/ChangeLog-2001 @V@/gdb/gdbtk/ChangeLog.001
@V@/gdb/gdbtk/ChangeLog-2002 @V@/gdb/gdbtk/ChangeLog.002
diff --git a/gdb/config/vax/vaxbsd.mh b/gdb/config/vax/vaxbsd.mh
index db1e1d4..4f0667b 100644
--- a/gdb/config/vax/vaxbsd.mh
+++ b/gdb/config/vax/vaxbsd.mh
@@ -7,7 +7,6 @@
#msg If this occurs, use gcc
#msg (but see comments in Makefile.dist about compiling with gcc).
-XM_FILE= xm-vaxbsd.h
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o
NAT_FILE= nm-vax.h
diff --git a/gdb/config/vax/vaxult.mh b/gdb/config/vax/vaxult.mh
index f05a33f..b85e9ec 100644
--- a/gdb/config/vax/vaxult.mh
+++ b/gdb/config/vax/vaxult.mh
@@ -1,6 +1,4 @@
# Host: DEC VAX running Ultrix
-XM_FILE= xm-vaxult.h
-
NAT_FILE= nm-vax.h
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o
diff --git a/gdb/config/vax/vaxult2.mh b/gdb/config/vax/vaxult2.mh
index 4170a84..b85e9ec 100644
--- a/gdb/config/vax/vaxult2.mh
+++ b/gdb/config/vax/vaxult2.mh
@@ -1,6 +1,4 @@
# Host: DEC VAX running Ultrix
-XM_FILE= xm-vaxult2.h
-
NAT_FILE= nm-vax.h
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o
diff --git a/gdb/config/vax/xm-vax.h b/gdb/config/vax/xm-vax.h
deleted file mode 100644
index c859c0a..0000000
--- a/gdb/config/vax/xm-vax.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Common definitions to make GDB run on Vaxen under 4.2bsd and Ultrix.
- Copyright (C) 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
-#define ONE_PROCESS_WRITETEXT
-
-/* Interface definitions for kernel debugger KDB. */
-
-/* Map machine fault codes into signal numbers.
- First subtract 0, divide by 4, then index in a table.
- Faults for which the entry in this table is 0
- are not handled by KDB; the program's own trap handler
- gets to handle then. */
-
-#define FAULT_CODE_UNITS 4
-#define FAULT_TABLE \
-{ 0, SIGKILL, SIGSEGV, 0, 0, 0, 0, 0, \
- 0, 0, SIGTRAP, SIGTRAP, 0, 0, 0, 0, \
- 0, 0, 0, 0, 0, 0, 0, 0}
-
-/* Push the frame pointer register on the stack. */
-#define PUSH_FRAME_PTR \
- asm ("pushl fp");
-
-/* Copy the top-of-stack to the frame pointer register. */
-#define POP_FRAME_PTR \
- asm ("movl (sp), fp");
-
-/* After KDB is entered by a fault, push all registers
- that GDB thinks about (all NUM_REGS of them),
- so that they appear in order of ascending GDB register number.
- The fault code will be on the stack beyond the last register. */
-
-#define PUSH_REGISTERS \
-{ asm ("pushl 8(sp)"); \
- asm ("pushl 8(sp)"); \
- asm ("pushal 0x14(sp)"); \
- asm ("pushr $037777"); }
-
-/* Assuming the registers (including processor status) have been
- pushed on the stack in order of ascending GDB register number,
- restore them and return to the address in the saved PC register. */
-
-#define POP_REGISTERS \
-{ asm ("popr $037777"); \
- asm ("subl2 $8,(sp)"); \
- asm ("movl (sp),sp"); \
- asm ("rei"); }
diff --git a/gdb/config/vax/xm-vaxbsd.h b/gdb/config/vax/xm-vaxbsd.h
deleted file mode 100644
index 6defcc6..0000000
--- a/gdb/config/vax/xm-vaxbsd.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Definitions to make GDB run on a vax under BSD, 4.3 or 4.4. */
-
-/* This should exist on either 4.3 or 4.4. 4.3 doesn't have limits.h
- or machine/limits.h. */
-#include <sys/param.h>
-
-#include "vax/xm-vax.h"
diff --git a/gdb/config/vax/xm-vaxult.h b/gdb/config/vax/xm-vaxult.h
deleted file mode 100644
index 576a44f..0000000
--- a/gdb/config/vax/xm-vaxult.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Definitions to make GDB run on a vax under Ultrix. */
-
-#include "vax/xm-vax.h"
-/* This is required for Ultrix 3.1b, not for later versions. Ultrix
- 3.1b can't just use xm-vaxult2.h because Ultrix 3.1b does define
- FD_SET. Sure, we could have separate configurations for vaxult2,
- vaxult3, and vaxult, but why bother? Defining the ptrace constants
- in infptrace.c isn't going to do any harm; it's not like they are
- going to change. */
-#define NO_PTRACE_H
diff --git a/gdb/config/vax/xm-vaxult2.h b/gdb/config/vax/xm-vaxult2.h
deleted file mode 100644
index a466698..0000000
--- a/gdb/config/vax/xm-vaxult2.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Definitions to make GDB run on a vax under Ultrix. */
-
-#include "vax/xm-vax.h"
-#define NO_PTRACE_H
-
-/* Old versions of ultrix have fd_set but not the FD_* macros. */
-
-#define FD_SET(bit,fdsetp) ((fdsetp)->fds_bits[(n) / 32] |= (1 << ((n) % 32)))
-#define FD_ZERO(fdsetp) memset (fdsetp, 0, sizeof (*fdsetp))