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.
This commit is contained in:
parent
9c8dbfa937
commit
6f009c8ac5
@ -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.
|
||||
|
@ -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).
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"); }
|
@ -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"
|
@ -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
|
@ -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))
|
Loading…
x
Reference in New Issue
Block a user