This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Remove xm-vax* files


FYI, per earlier e-mail. Any configuration problems are assumed to be handled by autoconf.

committed,
Andrew
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.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.604
diff -p -u -r1.604 Makefile.in
--- Makefile.in	4 Aug 2004 20:43:14 -0000	1.604
+++ Makefile.in	5 Aug 2004 14:31:53 -0000
@@ -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).
Index: config/djgpp/fnchange.lst
===================================================================
RCS file: /cvs/src/src/gdb/config/djgpp/fnchange.lst,v
retrieving revision 1.77
diff -p -u -r1.77 fnchange.lst
--- config/djgpp/fnchange.lst	19 Jul 2004 18:42:39 -0000	1.77
+++ config/djgpp/fnchange.lst	5 Aug 2004 14:31:53 -0000
@@ -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
Index: config/vax/vaxbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/vax/vaxbsd.mh,v
retrieving revision 1.2
diff -p -u -r1.2 vaxbsd.mh
--- config/vax/vaxbsd.mh	18 Jan 2002 04:51:09 -0000	1.2
+++ config/vax/vaxbsd.mh	5 Aug 2004 14:31:56 -0000
@@ -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
Index: config/vax/vaxult.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/vax/vaxult.mh,v
retrieving revision 1.2
diff -p -u -r1.2 vaxult.mh
--- config/vax/vaxult.mh	18 Jan 2002 04:51:09 -0000	1.2
+++ config/vax/vaxult.mh	5 Aug 2004 14:31:56 -0000
@@ -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
Index: config/vax/vaxult2.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/vax/vaxult2.mh,v
retrieving revision 1.2
diff -p -u -r1.2 vaxult2.mh
--- config/vax/vaxult2.mh	18 Jan 2002 04:51:09 -0000	1.2
+++ config/vax/vaxult2.mh	5 Aug 2004 14:31:56 -0000
@@ -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
Index: config/vax/xm-vax.h
===================================================================
RCS file: config/vax/xm-vax.h
diff -N config/vax/xm-vax.h
--- config/vax/xm-vax.h	29 Jul 2004 20:53:27 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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"); }
Index: config/vax/xm-vaxbsd.h
===================================================================
RCS file: config/vax/xm-vaxbsd.h
diff -N config/vax/xm-vaxbsd.h
--- config/vax/xm-vaxbsd.h	5 Jan 2002 22:06:38 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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"
Index: config/vax/xm-vaxult.h
===================================================================
RCS file: config/vax/xm-vaxult.h
diff -N config/vax/xm-vaxult.h
--- config/vax/xm-vaxult.h	26 Jan 2001 19:47:23 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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
Index: config/vax/xm-vaxult2.h
===================================================================
RCS file: config/vax/xm-vaxult2.h
diff -N config/vax/xm-vaxult2.h
--- config/vax/xm-vaxult2.h	26 Jan 2001 19:47:23 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]