diff --git a/gdb/config/3b1.mh b/gdb/config/3b1.mh deleted file mode 100644 index fd484f7ce1..0000000000 --- a/gdb/config/3b1.mh +++ /dev/null @@ -1,12 +0,0 @@ -# Host: AT&T 3b1/Unix pc -# I don't think cc has been tried. -traditional for -# (not sure whether necessary). -CC= gcc -traditional -# GCC runs out of virtual memory. -# A separate CC for pinsn routines is no longer supported, though. -# FIXME -- someone unlucky enough to have a 3B1, let bug-gcc@prep.ai.mit.edu -# know what works and what fails on the 3B1. -#PINSN_CC= cc - -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -XM_FILE= xm-3b1.h diff --git a/gdb/config/3b1.mt b/gdb/config/3b1.mt deleted file mode 100644 index bba2ed1e66..0000000000 --- a/gdb/config/3b1.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: AT&T 3b1/Unix pc -TDEPFILES= exec.o m68k-pinsn.o -TM_FILE= tm-3b1.h diff --git a/gdb/config/a29k-kern.mt b/gdb/config/a29k-kern.mt deleted file mode 100644 index 0ecf14fcb6..0000000000 --- a/gdb/config/a29k-kern.mt +++ /dev/null @@ -1,10 +0,0 @@ -# Target: Remote AMD 29000 that runs Unix kernel on NYU Ultra3 processor board. -# This builds a gdb that should run on a host (we use sun3os4) that -# then communicates over the serial line to either an Adapt or MiniMon, -# for use in debugging Unix kernels. -# As compared to ordinary remote 29K debugging, this changes the register -# numbering a bit, to hold kernel regs, and adds support for looking at -# the upage. -TDEPFILES= exec.o am29k-pinsn.o am29k-tdep.o remote-mm.o remote-adapt.o -TM_FILE= tm-ultra3.h -MT_CFLAGS = -DKERNEL_DEBUGGING -DNO_HIF_SUPPORT diff --git a/gdb/config/a29k-udi.mt b/gdb/config/a29k-udi.mt deleted file mode 100644 index dba0705656..0000000000 --- a/gdb/config/a29k-udi.mt +++ /dev/null @@ -1,5 +0,0 @@ -# Target: AMD 29000 on EB29K board over a serial line. -TDEPFILES= exec.o am29k-pinsn.o remote-udi.o am29k-tdep.o udip2soc.o udr.o -TM_FILE= tm-29k.h -# The following is for ../include/a.out.encap.h -MT_CFLAGS = -Da29k -DREMOTE -DTARGET=TARGET_AM29K -DAMD_COFF diff --git a/gdb/config/a29k.mt b/gdb/config/a29k.mt deleted file mode 100644 index 29ae63b5d0..0000000000 --- a/gdb/config/a29k.mt +++ /dev/null @@ -1,10 +0,0 @@ -# Target: AMD 29000. -# These defines should give you a gdb running on ? (sun3os4 if you like) -# that will be able to communicate over a serial line with either an -# EB board (remote-eb.c), -# Adapt (remote-adapt.c), -# or a MiniMon debugger (remote-mm.c). -# Or run native on an Ultracomputer. -TDEPFILES= exec.o am29k-pinsn.o am29k-tdep.o remote-eb.o remote-mm.o remote-adapt.o -TM_FILE= tm-29k.h -MT_CFLAGS = -DNO_HIF_SUPPORT diff --git a/gdb/config/altos.mh b/gdb/config/altos.mh deleted file mode 100644 index 13c37a7010..0000000000 --- a/gdb/config/altos.mh +++ /dev/null @@ -1,6 +0,0 @@ -# Host: Altos 3068 (68k, System V release 2) -XDEPFILES= infptrace.o inftarg.o fork-child.o altos-xdep.o -XM_FILE= xm-altos.h -REGEX=regex.o -REGEX1=regex.o -SYSV_DEFINE=-DSYSV diff --git a/gdb/config/altos.mt b/gdb/config/altos.mt deleted file mode 100644 index d156615f65..0000000000 --- a/gdb/config/altos.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Altos 3068 (68k, System V release 2) -TDEPFILES= m68k-pinsn.o exec.o -TM_FILE= tm-altos.h diff --git a/gdb/config/amix.mh b/gdb/config/amix.mh deleted file mode 100644 index ad3afed038..0000000000 --- a/gdb/config/amix.mh +++ /dev/null @@ -1,26 +0,0 @@ -# Host: Commodore Amiga running SVR4. -NAT_FILE= nm-sysv4.h -NATDEPFILES= corelow.o procfs.o fork-child.o -XDEPFILES= -XM_FILE= xm-amix.h -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o - -# We need to find alloca() somewhere. Gcc has one built in, but most other -# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because -# we have to be careful not to pull in anything else from the library (lots -# of things are broken in most SVR4 versions). The best solution is to just -# compile alloca.c and link it into the executable. If we end up not needing -# it, then the code is just dead. Once alloca.c moves to libiberty, then we -# can eliminate this semi-kludge. -ALLOCA=alloca.o -ALLOCA1=alloca.o - -# SVR4 comes standard with terminfo, and in some implementations, the -# old termcap descriptions are incomplete. So ensure that we use the -# new terminfo interface and latest terminal descriptions. -TERMCAP=-ltermlib - -# SVR4 puts the BSD compatible install in /usr/ucb. -INSTALL = /usr/ucb/install -c diff --git a/gdb/config/amix.mt b/gdb/config/amix.mt deleted file mode 100644 index 91166b92e5..0000000000 --- a/gdb/config/amix.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Commodore Amiga running SVR4 -TDEPFILES= m68k-pinsn.o exec.o m68k-tdep.o solib.o -TM_FILE= tm-amix.h diff --git a/gdb/config/apollo68b.mh b/gdb/config/apollo68b.mh deleted file mode 100755 index 58f731360f..0000000000 --- a/gdb/config/apollo68b.mh +++ /dev/null @@ -1,6 +0,0 @@ -# Host: Apollo 68k, BSD mode. - -XM_FILE= xm-apollo68b.h -XDEPFILES= ser-bsd.o -NAT_FILE= nm-apollo68b.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o a68v-nat.o diff --git a/gdb/config/apollo68v.mh b/gdb/config/apollo68v.mh deleted file mode 100644 index f710724515..0000000000 --- a/gdb/config/apollo68v.mh +++ /dev/null @@ -1,10 +0,0 @@ -RANLIB=echo >/dev/null -XM_FILE= xm-apollo68v.h -XM_CLIBS= -lPW -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o -CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_SYS_FILE -XDEPFILES= -NAT_FILE= nm-apollo68v.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o a68v-nat.o diff --git a/gdb/config/arm.mh b/gdb/config/arm.mh deleted file mode 100644 index 9700fa2f3c..0000000000 --- a/gdb/config/arm.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Acorn RISC machine running RISCiX (4.3bsd) -XDEPFILES= infptrace.o inftarg.o fork-child.o arm-xdep.o arm-convert.o -XM_FILE= xm-arm.h diff --git a/gdb/config/arm.mt b/gdb/config/arm.mt deleted file mode 100644 index 146995b69c..0000000000 --- a/gdb/config/arm.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Acorn RISC machine running RISCiX (4.3bsd) -TDEPFILES= arm-tdep.o arm-pinsn.o -TM_FILE= tm-arm.h diff --git a/gdb/config/bigmips.mh b/gdb/config/bigmips.mh deleted file mode 100644 index 9e4704bbfa..0000000000 --- a/gdb/config/bigmips.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Big-endian MIPS machine such as Sony News -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -XM_FILE= xm-bigmips.h diff --git a/gdb/config/bigmips.mt b/gdb/config/bigmips.mt deleted file mode 100644 index a127042bd0..0000000000 --- a/gdb/config/bigmips.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Big-endian MIPS machine such as Sony News -TDEPFILES= mips-pinsn.o mips-tdep.o exec.o -TM_FILE= tm-bigmips.h diff --git a/gdb/config/convex.mh b/gdb/config/convex.mh deleted file mode 100644 index 35a121fdcf..0000000000 --- a/gdb/config/convex.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Convex Unix (4bsd) -XDEPFILES= convex-xdep.o -XM_FILE= xm-convex.h diff --git a/gdb/config/convex.mt b/gdb/config/convex.mt deleted file mode 100644 index aa8dfc5c64..0000000000 --- a/gdb/config/convex.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Convex Unix (4bsd) -TDEPFILES= convex-tdep.o convex-pinsn.o -TM_FILE= tm-convex.h diff --git a/gdb/config/decstation.mh b/gdb/config/decstation.mh deleted file mode 100644 index 27cf5fd8a7..0000000000 --- a/gdb/config/decstation.mh +++ /dev/null @@ -1,11 +0,0 @@ -# Host: Little-endian MIPS machine such as DECstation. -XDEPFILES= -XM_FILE= xm-mips.h -NAT_FILE= nm-mips.h -NATDEPFILES= infptrace.o inftarg.o corelow.o mips-nat.o fork-child.o - -# We can't use MMALLOC because the DECstation RPC library can't cope -# with a malloc(0) that returns 0. Besides, it's useless on a machine -# without a real mmap(). -MMALLOC_LIB = -MMALLOC_DISABLE = -DNO_MMALLOC diff --git a/gdb/config/decstation.mt b/gdb/config/decstation.mt deleted file mode 100644 index 96896c0ce5..0000000000 --- a/gdb/config/decstation.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Little-endian MIPS machine such as DECstation. -TDEPFILES= mips-pinsn.o mips-tdep.o exec.o -TM_FILE= tm-mips.h diff --git a/gdb/config/delta88.mh b/gdb/config/delta88.mh deleted file mode 100644 index c454cf03ba..0000000000 --- a/gdb/config/delta88.mh +++ /dev/null @@ -1,12 +0,0 @@ -# Host: Motorola 88000 running DGUX -XDEPFILES= -XM_FILE= xm-delta88.h -NAT_FILE= nm-m88k.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o m88k-nat.o -REGEX=regex.o -REGEX1=regex.o -ALLOCA=alloca.o -ALLOCA1=alloca.o -# Have to use /bin/nm because a bfd nm won't do the right thing -MUNCH_DEFINE=MUNCH_NM=/bin/nm -M_INSTALL=cp gdb.z $(ddestdir)/man/man1 diff --git a/gdb/config/delta88.mt b/gdb/config/delta88.mt deleted file mode 100644 index 65b608e68a..0000000000 --- a/gdb/config/delta88.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Motorola 88000 -TDEPFILES= m88k-tdep.o m88k-pinsn.o -TM_FILE= tm-delta88.h diff --git a/gdb/config/es1800.mt b/gdb/config/es1800.mt deleted file mode 100644 index fd421637dc..0000000000 --- a/gdb/config/es1800.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Ericcson ES-1800 emulator (remote) for m68k. -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o remote-es1800.o -TM_FILE= tm-es1800.h diff --git a/gdb/config/go32.mh b/gdb/config/go32.mh deleted file mode 100644 index 555ba31686..0000000000 --- a/gdb/config/go32.mh +++ /dev/null @@ -1,3 +0,0 @@ -MH_CFLAGS=-D__GO32__ -D__MSDOS__ -XDEPFILES= go32-xdep.o ser-go32.o -XM_FILE= xm-go32.h diff --git a/gdb/config/h8300hms.mt b/gdb/config/h8300hms.mt deleted file mode 100644 index 6002df48c0..0000000000 --- a/gdb/config/h8300hms.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: H8300 with HMS monitor and H8 simulator -TDEPFILES= exec.o h8300-tdep.o remote-hms.o remote-sim.o ../sim/h8300/code.o ../sim/h8300/perifs.o -TM_FILE= tm-h8300.h diff --git a/gdb/config/h8500hms.mt b/gdb/config/h8500hms.mt deleted file mode 100644 index eb64daa110..0000000000 --- a/gdb/config/h8500hms.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: H8500 with HMS monitor and H8 simulator -TDEPFILES= exec.o h8500-tdep.o remote-hms.o remote-sim.o ../sim/h8500/compile.o -TM_FILE= tm-h8500.h diff --git a/gdb/config/hp300bsd.mh b/gdb/config/hp300bsd.mh deleted file mode 100644 index fd2fa4b6f8..0000000000 --- a/gdb/config/hp300bsd.mh +++ /dev/null @@ -1,7 +0,0 @@ -# Host: Hewlett-Packard 9000 series 300, running BSD -XDEPFILES= -XM_FILE= xm-hp300bsd.h -NAT_FILE= nm-hp300bsd.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o coredep.o corelow.o -REGEX=regex.o -REGEX1=regex.o diff --git a/gdb/config/hp300bsd.mt b/gdb/config/hp300bsd.mt deleted file mode 100644 index 7690f09acb..0000000000 --- a/gdb/config/hp300bsd.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Hewlett-Packard 9000 series 300, running BSD -TDEPFILES= m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-hp300bsd.h diff --git a/gdb/config/hp300hpux.mh b/gdb/config/hp300hpux.mh deleted file mode 100644 index 43e27a3c50..0000000000 --- a/gdb/config/hp300hpux.mh +++ /dev/null @@ -1,15 +0,0 @@ -# Host: Hewlett-Packard 9000 series 300, running HPUX -# The following is true because gcc uses a different .o file format -# than the native HPUX compiler -#msg If you compile GDB with GCC on HPUX, you must make sure -#msg that the `nm' used in `munch' is GNU nm -#msg - -XM_FILE= xm-hp300hpux.h -NAT_FILE= nm-hp300hpux.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o hp300ux-nat.o -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o -ALLOCA=alloca.o -ALLOCA1=alloca.o diff --git a/gdb/config/hp300hpux.mt b/gdb/config/hp300hpux.mt deleted file mode 100644 index a8902cdf22..0000000000 --- a/gdb/config/hp300hpux.mt +++ /dev/null @@ -1,11 +0,0 @@ -# Target: Hewlett-Packard 9000 series 300, running HPUX - -#msg Note that GDB can only read symbols from programs that were -#msg compiled with GCC -#msg - -# The headers in the directory hp-include override system headers -# and tell GDB to use BSD executable file format (hence -Ihp-include) -MT_CFLAGS=-Ihp-include -TDEPFILES= m68k-pinsn.o -TM_FILE= tm-hp300hpux.h diff --git a/gdb/config/hppabsd.mh b/gdb/config/hppabsd.mh deleted file mode 100644 index 2efde1ac5d..0000000000 --- a/gdb/config/hppabsd.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Hewlett-Packard PA-RISC machine, running BSD -XDEPFILES= -XM_FILE= xm-hppab.h -NAT_FILE= nm-hppab.h -NATDEPFILES= hppab-nat.o coredep.o corelow.o exec.o hppab-core.o diff --git a/gdb/config/hppabsd.mt b/gdb/config/hppabsd.mt deleted file mode 100644 index 1260ab70df..0000000000 --- a/gdb/config/hppabsd.mt +++ /dev/null @@ -1,4 +0,0 @@ -# TARGET: HP PA-RISC running bsd -TDEPFILES= hppa-pinsn.o hppab-tdep.o -TM_FILE= tm-hppab.h - diff --git a/gdb/config/hppahpux.mh b/gdb/config/hppahpux.mh deleted file mode 100644 index 3e22734674..0000000000 --- a/gdb/config/hppahpux.mh +++ /dev/null @@ -1,8 +0,0 @@ -# Host: Hewlett-Packard PA-RISC machine, running HPUX -TERMCAP = -lcurses -XDEPFILES= -XM_FILE= xm-hppah.h -NAT_FILE= nm-hppah.h -NATDEPFILES= hppah-nat.o coredep.o corelow.o inftarg.o fork-child.o paread.o -REGEX=regex.o -REGEX1=regex.o diff --git a/gdb/config/hppahpux.mt b/gdb/config/hppahpux.mt deleted file mode 100644 index 08501083ee..0000000000 --- a/gdb/config/hppahpux.mt +++ /dev/null @@ -1,3 +0,0 @@ -# TARGET: HP PA-RISC running hpux -TDEPFILES= hppa-pinsn.o hppah-tdep.o exec.o -TM_FILE= tm-hppah.h diff --git a/gdb/config/i386aout.mt b/gdb/config/i386aout.mt deleted file mode 100644 index 4bfa353ac4..0000000000 --- a/gdb/config/i386aout.mt +++ /dev/null @@ -1,4 +0,0 @@ -# Target: Intel 386 with a.out - -TDEPFILES= exec.o i386-tdep.o i386-pinsn.o -TM_FILE= tm-i386v.h diff --git a/gdb/config/i386bsd.mh b/gdb/config/i386bsd.mh deleted file mode 100644 index 20339ca5b6..0000000000 --- a/gdb/config/i386bsd.mh +++ /dev/null @@ -1,7 +0,0 @@ -# Host: Intel 386 running 386BSD -XDEPFILES= ser-bsd.o -NATDEPFILES= exec.o fork-child.o infptrace.o inftarg.o corelow.o coredep.o i386b-nat.o -XM_FILE= xm-i386bsd.h -NAT_FILE= nm-i386bsd.h -REGEX=regex.o -REGEX1=regex.o diff --git a/gdb/config/i386bsd.mt b/gdb/config/i386bsd.mt deleted file mode 100644 index 402d6af3b1..0000000000 --- a/gdb/config/i386bsd.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 386 running BSD -TDEPFILES= i386-tdep.o i386-pinsn.o -TM_FILE= tm-i386bsd.h diff --git a/gdb/config/i386mach.mh b/gdb/config/i386mach.mh deleted file mode 100644 index b98c27bfa6..0000000000 --- a/gdb/config/i386mach.mh +++ /dev/null @@ -1,6 +0,0 @@ -# Host: Intel 386 running Mach - -XDEPFILES= -XM_FILE= xm-i386mach.h -NAT_FILE= nm-i386mach.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o i386mach-nat.o diff --git a/gdb/config/i386sco.mh b/gdb/config/i386sco.mh deleted file mode 100644 index b1a276c70d..0000000000 --- a/gdb/config/i386sco.mh +++ /dev/null @@ -1,13 +0,0 @@ -# Host: Intel 386 running SCO Unix (pre-SVR4) -XDEPFILES= i387-tdep.o -XM_FILE= xm-i386sco.h -NAT_FILE= nm-i386sco.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o i386v-nat.o -XM_CLIBS= -lPW -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o -#msg The SCO C compiler cannot parse symtab.h when value.h has been included. -#msg This is a bug in the compiler; the code is valid. -#msg Therefore, you must use GCC to compile GDB on SCO machines. -CC=gcc -D_POSIX_SOURCE=1 diff --git a/gdb/config/i386sco4.mh b/gdb/config/i386sco4.mh deleted file mode 100644 index e2754ae755..0000000000 --- a/gdb/config/i386sco4.mh +++ /dev/null @@ -1,16 +0,0 @@ -# Host: Intel 386 running SCO Unix 3.2v4 -XDEPFILES= i387-tdep.o -XM_FILE= xm-i386sco.h -NAT_FILE= nm-i386sco4.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o i386v-nat.o -XM_CLIBS= -lPW -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o -# The cc compiler mishandles const in cases like -# struct type ** const (c_builtin_types[]) = -MH_CFLAGS=-Dconst= -# The cc compiler sometimes produces debugging output that nm can not -# parse. Passing -p to nm makes it not even try, and allows munch to -# work. -MUNCH_DEFINE=-p diff --git a/gdb/config/i386sol2.mh b/gdb/config/i386sol2.mh deleted file mode 100644 index 44a6247cfd..0000000000 --- a/gdb/config/i386sol2.mh +++ /dev/null @@ -1,34 +0,0 @@ -# Host: Intel 386 running Solaris 2 (SVR4). - -# Solaris-2 makes `install' optional in the Berkeley compatability pkg. -# cp will do fine. -INSTALL = cp - -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o - -# Need to compile and link in support for SVR4's /proc and i386 host dependent -# routines. -XDEPFILES= - -# Use the i386 SVR4 host configuration file. -XM_FILE= xm-i386v4.h - -NAT_FILE= nm-i386v4.h -NATDEPFILES= corelow.o exec.o procfs.o fork-child.o i386v4-nat.o - -# We need to find alloca() somewhere. Gcc has one built in, but most other -# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because -# we have to be careful not to pull in anything else from the library (lots -# of things are broken in most SVR4 versions). The best solution is to just -# compile alloca.c and link it into the executable. If we end up not needing -# it, then the code is just dead. Once alloca.c moves to libiberty, then we -# can eliminate this semi-kludge. -ALLOCA=alloca.o -ALLOCA1=alloca.o - -# SVR4 comes standard with terminfo, and in some implementations, the -# old termcap descriptions are incomplete. So ensure that we use the -# new terminfo interface and latest terminal descriptions. -TERMCAP=-ltermlib diff --git a/gdb/config/i386sol2.mt b/gdb/config/i386sol2.mt deleted file mode 100644 index e02cc53473..0000000000 --- a/gdb/config/i386sol2.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 386 running SVR4 -TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o -TM_FILE= tm-i386v4.h diff --git a/gdb/config/i386v.mh b/gdb/config/i386v.mh deleted file mode 100644 index 1c94ae5771..0000000000 --- a/gdb/config/i386v.mh +++ /dev/null @@ -1,9 +0,0 @@ -# Host: Intel 386 running System V -XDEPFILES= -XM_FILE= xm-i386v.h -NAT_FILE= nm-i386v.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o coredep.o corelow.o i386v-nat.o -XM_CLIBS= -lPW -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o diff --git a/gdb/config/i386v.mt b/gdb/config/i386v.mt deleted file mode 100644 index 08699de4ff..0000000000 --- a/gdb/config/i386v.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 386 running System V -TDEPFILES= exec.o i386-tdep.o i386-pinsn.o i387-tdep.o -TM_FILE= tm-i386v.h diff --git a/gdb/config/i386v32.mh b/gdb/config/i386v32.mh deleted file mode 100644 index 595aaadb60..0000000000 --- a/gdb/config/i386v32.mh +++ /dev/null @@ -1,9 +0,0 @@ -# Host: Intel 386 running System V release 3.2 -XDEPFILES= -XM_FILE= xm-i386v32.h -NAT_FILE= nm-i386v.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o i386v-nat.o -XM_CLIBS= -lPW -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o diff --git a/gdb/config/i386v4.mh b/gdb/config/i386v4.mh deleted file mode 100644 index da90b1b21b..0000000000 --- a/gdb/config/i386v4.mh +++ /dev/null @@ -1,33 +0,0 @@ -# Host: Intel 386 running SVR4. - -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o - -# Need to compile and link in support for SVR4's /proc and i386 host dependent -# routines. -XDEPFILES= - -# Use the i386 SVR4 host configuration file. -XM_FILE= xm-i386v4.h - -NAT_FILE= nm-i386v4.h -NATDEPFILES= corelow.o exec.o procfs.o fork-child.o i386v4-nat.o - -# We need to find alloca() somewhere. Gcc has one built in, but most other -# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because -# we have to be careful not to pull in anything else from the library (lots -# of things are broken in most SVR4 versions). The best solution is to just -# compile alloca.c and link it into the executable. If we end up not needing -# it, then the code is just dead. Once alloca.c moves to libiberty, then we -# can eliminate this semi-kludge. -ALLOCA=alloca.o -ALLOCA1=alloca.o - -# SVR4 comes standard with terminfo, and in some implementations, the -# old termcap descriptions are incomplete. So ensure that we use the -# new terminfo interface and latest terminal descriptions. -TERMCAP=-ltermlib - -# SVR4 puts the BSD compatible install in /usr/ucb. -INSTALL = /usr/ucb/install -c diff --git a/gdb/config/i386v4.mt b/gdb/config/i386v4.mt deleted file mode 100644 index e02cc53473..0000000000 --- a/gdb/config/i386v4.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 386 running SVR4 -TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o -TM_FILE= tm-i386v4.h diff --git a/gdb/config/idt.mt b/gdb/config/idt.mt deleted file mode 100644 index d7fcecb8fe..0000000000 --- a/gdb/config/idt.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Big-endian IDT board. -TDEPFILES= mips-pinsn.o mips-tdep.o exec.o remote-mips.o -TM_FILE= tm-bigmips.h diff --git a/gdb/config/irix3.mh b/gdb/config/irix3.mh deleted file mode 100644 index 0d93c2ecc3..0000000000 --- a/gdb/config/irix3.mh +++ /dev/null @@ -1,9 +0,0 @@ -# Host: SGI Iris running irix 3.x -XDEPFILES= -XM_FILE= xm-irix3.h -NAT_FILE= nm-irix3.h -NATDEPFILES= fork-child.o corelow.o infptrace.o inftarg.o mips-nat.o -ALLOCA=alloca.o -ALLOCA1=alloca.o -MUNCH_DEFINE=-B -XM_CLIBS=-lbsd diff --git a/gdb/config/irix3.mt b/gdb/config/irix3.mt deleted file mode 100644 index 2f0097bd8e..0000000000 --- a/gdb/config/irix3.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: SGI mips -TDEPFILES= mips-pinsn.o mips-tdep.o exec.o -TM_FILE= tm-irix3.h diff --git a/gdb/config/irix4.mh b/gdb/config/irix4.mh deleted file mode 100644 index 854fa69821..0000000000 --- a/gdb/config/irix4.mh +++ /dev/null @@ -1,12 +0,0 @@ -# Host: SGI Iris running irix 4.x -XDEPFILES= -XM_FILE= xm-irix4.h -NAT_FILE= nm-irix4.h -NATDEPFILES= fork-child.o procfs.o irix4-nat.o -ALLOCA=alloca.o -ALLOCA1=alloca.o -MUNCH_DEFINE=-B -XM_CLIBS=-lbsd -lsun -INSTALL = cp -# use cc in K&R mode, bump up some static compiler tables. -CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh1100 diff --git a/gdb/config/isi.mh b/gdb/config/isi.mh deleted file mode 100644 index b0a5bedc5d..0000000000 --- a/gdb/config/isi.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: ISI Optimum V (3.05) under 4.3bsd. -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -XM_FILE= xm-isi.h diff --git a/gdb/config/isi.mt b/gdb/config/isi.mt deleted file mode 100644 index fb4d83f9d0..0000000000 --- a/gdb/config/isi.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: ISI Optimum V (3.05) under 4.3bsd. -TDEPFILES= exec.o m68k-pinsn.o -TM_FILE= tm-isi.h diff --git a/gdb/config/linux.mh b/gdb/config/linux.mh deleted file mode 100644 index c7a5285c80..0000000000 --- a/gdb/config/linux.mh +++ /dev/null @@ -1,10 +0,0 @@ -# Host: Intel 386 running System V -XDEPFILES= -XM_FILE= xm-linux.h -NAT_FILE= nm-linux.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o coredep.o corelow.o i386v-nat.o -XM_CLIBS= -TERMLIB= -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o diff --git a/gdb/config/linux.mt b/gdb/config/linux.mt deleted file mode 100644 index 0f961ba453..0000000000 --- a/gdb/config/linux.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 386 with a.out -TDEPFILES= i386-tdep.o i386-pinsn.o i387-tdep.o -TM_FILE= tm-linux.h diff --git a/gdb/config/littlemips.mh b/gdb/config/littlemips.mh deleted file mode 100644 index 80c26788de..0000000000 --- a/gdb/config/littlemips.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Little-endian MIPS machine such as DECstation. -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -XM_FILE= xm-mips.h diff --git a/gdb/config/littlemips.mt b/gdb/config/littlemips.mt deleted file mode 100644 index 96896c0ce5..0000000000 --- a/gdb/config/littlemips.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Little-endian MIPS machine such as DECstation. -TDEPFILES= mips-pinsn.o mips-tdep.o exec.o -TM_FILE= tm-mips.h diff --git a/gdb/config/m68k-fp.mt b/gdb/config/m68k-fp.mt deleted file mode 100644 index 139595b723..0000000000 --- a/gdb/config/m68k-fp.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Motorola 68xxx with floating point -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-68k-fp.h diff --git a/gdb/config/m68k-nofp.mt b/gdb/config/m68k-nofp.mt deleted file mode 100644 index a2465bf6aa..0000000000 --- a/gdb/config/m68k-nofp.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Motorola 68xxx without floating point -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-68k-nofp.h diff --git a/gdb/config/m88k.mh b/gdb/config/m88k.mh deleted file mode 100644 index 1c71040c13..0000000000 --- a/gdb/config/m88k.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Motorola 88000 running DGUX -XDEPFILES= -XM_FILE= xm-m88k.h -NAT_FILE= nm-m88k.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o m88k-nat.o diff --git a/gdb/config/m88k.mt b/gdb/config/m88k.mt deleted file mode 100644 index c10c89cb93..0000000000 --- a/gdb/config/m88k.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Motorola 88000 Binary Compatability Standard -TDEPFILES= m88k-tdep.o m88k-pinsn.o -TM_FILE= tm-m88k.h diff --git a/gdb/config/merlin.mh b/gdb/config/merlin.mh deleted file mode 100644 index 179254b7ec..0000000000 --- a/gdb/config/merlin.mh +++ /dev/null @@ -1,6 +0,0 @@ -# Host: Merlin running utek 2.1 -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -XM_FILE= xm-merlin.h -# See SHELL_FILE in m-merlin.h for a explanation of this. -M_INSTALL=cp /bin/sh /usr/local/lib/gdb-sh; \ -chmod ogu+rw /usr/local/lib/gdb-sh diff --git a/gdb/config/merlin.mt b/gdb/config/merlin.mt deleted file mode 100644 index 25460e23b9..0000000000 --- a/gdb/config/merlin.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Merlin running utek 2.1 -TDEPFILES= exec.o ns32k-pinsn.o -TM_FILE= tm-merlin.h diff --git a/gdb/config/ncr3000.mh b/gdb/config/ncr3000.mh deleted file mode 100644 index 338d13ec2b..0000000000 --- a/gdb/config/ncr3000.mh +++ /dev/null @@ -1,43 +0,0 @@ -# Host: Intel 386 running SVR4. - -# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc. -# This compiler not only emits obnoxious copyright messages every time -# you run it, but it chokes and dies on a whole bunch of GNU source -# files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc. -# Unfortunately though, the AT&T compiler sometimes generates code that -# the assembler barfs on if -g is used, so disable it by default as well. -CC = /usr/ccs/ATT/cc -CFLAGS = - -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o - -# Need to compile and link in support for SVR4's /proc and i386 host dependent -# routines. -XDEPFILES= - -# Use the i386 SVR4 host configuration file. -XM_FILE= xm-i386v4.h - -NAT_FILE= nm-i386v4.h -NATDEPFILES= corelow.o exec.o procfs.o fork-child.o i386v4-nat.o - -# We need to find alloca() somewhere. Gcc has one built in, but most other -# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because -# we have to be careful not to pull in anything else from the library (lots -# of things are broken in most SVR4 versions). The best solution is to just -# compile alloca.c and link it into the executable. If we end up not needing -# it, then the code is just dead. Once alloca.c moves to libiberty, then we -# can eliminate this semi-kludge. -ALLOCA=alloca.o -ALLOCA1=alloca.o - -# SVR4 comes standard with terminfo, and in some implementations, the -# old termcap descriptions are incomplete. So ensure that we use the -# new terminfo interface and latest terminal descriptions. -TERMCAP=-ltermlib - -# The /usr/ucb/install program is incompatible (complains about unknown -# group staff). Use good old cp... -INSTALL = cp diff --git a/gdb/config/ncr3000.mt b/gdb/config/ncr3000.mt deleted file mode 100644 index e02cc53473..0000000000 --- a/gdb/config/ncr3000.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 386 running SVR4 -TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o -TM_FILE= tm-i386v4.h diff --git a/gdb/config/news.mh b/gdb/config/news.mh deleted file mode 100644 index 64f8de8518..0000000000 --- a/gdb/config/news.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sony news series 700/800/900 (68020) running NewsOS version 3. -XDEPFILES= news-xdep.o -XM_FILE= xm-news.h -NAT_FILE= nm-news.h -NATDEPFILES= exec.o inftarg.o fork-child.o coredep.o corelow.o infptrace.o diff --git a/gdb/config/news.mt b/gdb/config/news.mt deleted file mode 100644 index 5c595ea6b4..0000000000 --- a/gdb/config/news.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sony news series 700/800/900 (68020) running NewsOS version 3. -TDEPFILES= m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-news.h diff --git a/gdb/config/news1000.mh b/gdb/config/news1000.mh deleted file mode 100644 index 0a03a899e0..0000000000 --- a/gdb/config/news1000.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Sony news series 1000 (68030) running NewsOS version 3. -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o news-xdep.o -XM_FILE= xm-news1000.h diff --git a/gdb/config/nindy960.mt b/gdb/config/nindy960.mt deleted file mode 100644 index fc1234813d..0000000000 --- a/gdb/config/nindy960.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Intel 80960, in an embedded system under the NINDY monitor -TDEPFILES= exec.o i960-pinsn.o i960-tdep.o nindy-tdep.o remote-nindy.o nindy.o Onindy.o ttybreak.o ttyflush.o -TM_FILE= tm-nindy960.h diff --git a/gdb/config/nm-sysv4.h b/gdb/config/nm-sysv4.h new file mode 100644 index 0000000000..4aff700891 --- /dev/null +++ b/gdb/config/nm-sysv4.h @@ -0,0 +1,28 @@ +/* Definitions for running gdb on a host machine running any flavor of SVR4. + Copyright 1991, 1992 Free Software Foundation, Inc. + Written by Fred Fish at Cygnus Support (fnf@cygnus.com). + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* SVR4 has /proc support, so use it instead of ptrace. */ + +#define USE_PROC_FS + +/* SVR4 machines can easily do attach and detach via /proc (procfs.c) + support */ + +#define ATTACH_DETACH diff --git a/gdb/config/nm-trash.h b/gdb/config/nm-trash.h new file mode 100644 index 0000000000..38bed5a89a --- /dev/null +++ b/gdb/config/nm-trash.h @@ -0,0 +1,2 @@ +/* this file is temporary scaffolding until all hosts have the + native/target/host split in place. FIXME. */ diff --git a/gdb/config/none.mh b/gdb/config/none.mh deleted file mode 100644 index 2a833479e1..0000000000 --- a/gdb/config/none.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: "no target". This can be used to build you -# a Makefile that only runs administrative commands like 'clean', -# 'gdb.tar.Z', etc. diff --git a/gdb/config/none.mt b/gdb/config/none.mt deleted file mode 100644 index 9917e2b7ce..0000000000 --- a/gdb/config/none.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: "no target". -# This can be used to build you a Makefile that only runs administrative -# commands like 'clean', 'gdb.tar.Z', etc. diff --git a/gdb/config/np1.mh b/gdb/config/np1.mh deleted file mode 100644 index 541cbcb884..0000000000 --- a/gdb/config/np1.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Gould NP1 -XDEPFILES= infptrace.o inftarg.o fork-child.o gould-xdep.o -XM_FILE= xm-np1.h diff --git a/gdb/config/np1.mt b/gdb/config/np1.mt deleted file mode 100644 index 1a5d68bb39..0000000000 --- a/gdb/config/np1.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Gould NP1 -TDEPFILES= exec.o gould-pinsn.o -TM_FILE= tm-np1.h diff --git a/gdb/config/os68k.mt b/gdb/config/os68k.mt deleted file mode 100644 index a921691381..0000000000 --- a/gdb/config/os68k.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: VxWorks running on a 68000 -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-os68k.h diff --git a/gdb/config/pn.mh b/gdb/config/pn.mh deleted file mode 100644 index 53372bbf9c..0000000000 --- a/gdb/config/pn.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Gould Powernode -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -XM_FILE= xm-pn.h diff --git a/gdb/config/pn.mt b/gdb/config/pn.mt deleted file mode 100644 index e53ab9efa7..0000000000 --- a/gdb/config/pn.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Gould Powernode -TDEPFILES= exec.o gould-pinsn.o -TM_FILE= tm-pn.h diff --git a/gdb/config/pyramid.mh b/gdb/config/pyramid.mh deleted file mode 100644 index cd25e57e4a..0000000000 --- a/gdb/config/pyramid.mh +++ /dev/null @@ -1,8 +0,0 @@ -# Host: Pyramid under OSx 4.0 (4.2bsd). - -#msg If you don't compile GDB with GCC, you'll need to add -#msg ALLOCA=alloca.o and ALLOCA1=alloca.o to the Makefile. -#msg - -XDEPFILES= pyr-xdep.o infptrace.o inftarg.o fork-child.o -XM_FILE= xm-pyr.h diff --git a/gdb/config/pyramid.mt b/gdb/config/pyramid.mt deleted file mode 100644 index 40c87861ee..0000000000 --- a/gdb/config/pyramid.mt +++ /dev/null @@ -1,7 +0,0 @@ -# Target: Pyramid under OSx 4.0 (4.2bsd). - -#msg Note that GDB on Pyramids only works with GCC, -#msg at least for some programs. - -TDEPFILES= pyr-pinsn.o pyr-tdep.o exec.o -TM_FILE= tm-pyr.h diff --git a/gdb/config/rs6000.mh b/gdb/config/rs6000.mh deleted file mode 100644 index a4037eb115..0000000000 --- a/gdb/config/rs6000.mh +++ /dev/null @@ -1,36 +0,0 @@ -# Host machine: IBM RS/6000 running AIX 3.2. -# Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. - -# This file is part of GDB. - -# GDB 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 1, or (at your option) -# any later version. - -# GDB 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 GDB; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -XDEPFILES= -XM_FILE= xm-rs6000.h -NAT_FILE= nm-rs6000.h -NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o xcoffread.o - -# When compiled with cc, for debugging, this argument should be passed. -# We have no idea who our current compiler is though, so we skip it. -# MH_CFLAGS = -bnodelcsect - -# Because of shared libraries, we risk ending up with *two* -# incompatible versions of malloc if we use GNU malloc ... -MMALLOC_LIB = -MMALLOC_DISABLE = -DNO_MMALLOC - -# A bug in the AIX 3.2 libc.a results in unresolved references for .scalb and -# .finite becuase we call ldexp. Circumvent by adding -lm. FIXME, IBM. -XM_CLIBS= -lm diff --git a/gdb/config/rs6000.mt b/gdb/config/rs6000.mt deleted file mode 100644 index 2d669167fd..0000000000 --- a/gdb/config/rs6000.mt +++ /dev/null @@ -1,21 +0,0 @@ -# Target machine: AIX 3.1 on IBM RS/6000. -# Copyright (C) 1991 Free Software Foundation, Inc. - -# This file is part of GDB. - -# GDB 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 1, or (at your option) -# any later version. - -# GDB 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 GDB; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -TDEPFILES= rs6000-pinsn.o rs6000-tdep.o xcoffsolib.o xcoffexec.o -TM_FILE= tm-rs6000.h diff --git a/gdb/config/rtbsd.mh b/gdb/config/rtbsd.mh deleted file mode 100644 index c309da24e6..0000000000 --- a/gdb/config/rtbsd.mh +++ /dev/null @@ -1,8 +0,0 @@ -# IBM RT/PC running BSD unix. -# This file contributed at NYU, where we are using the RT to remote -# debug a 29k running unix. No attempt, as of 7/16/91, has been made -# to support debugging of RT executables. -XDEPFILES=coredep.o corelow.o infptrace.o inftarg.o fork-child.o -MH_CFLAGS=-DHOSTING_ONLY # No debugging of RT executables -XM_FILE= xm-rtbsd.h -CC=gcc -traditional # hc/pcc just can't cut it. diff --git a/gdb/config/sparc-em.mt b/gdb/config/sparc-em.mt deleted file mode 100644 index 97b2476aca..0000000000 --- a/gdb/config/sparc-em.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: SPARC embedded -TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o -TM_FILE= tm-spc-em.h diff --git a/gdb/config/st2000.mt b/gdb/config/st2000.mt deleted file mode 100644 index d3c21f3d28..0000000000 --- a/gdb/config/st2000.mt +++ /dev/null @@ -1,7 +0,0 @@ -# Target: Tandem ST-2000 phone switch -# These defines should give you a gdb running on anything that will be able to -# communicate with a Tandem ST2000 phone switch debug monitor. Communications -# is facilitated via either a serial line, or a TCP or TELNET connection to -# a serial line on a terminal multiplexor. -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o remote-st2000.o -TM_FILE= tm-st2000.h diff --git a/gdb/config/stratus.mh b/gdb/config/stratus.mh deleted file mode 100644 index b30caf355d..0000000000 --- a/gdb/config/stratus.mh +++ /dev/null @@ -1,24 +0,0 @@ -# Host: Stratus FTX2 -XDEPFILES= procfs.o fork-child.o -XM_FILE= xm-stratus.h -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o - -# We need to find alloca() somewhere. Gcc has one built in, but most other -# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because -# we have to be careful not to pull in anything else from the library (lots -# of things are broken in most SVR4 versions). The best solution is to just -# compile alloca.c and link it into the executable. If we end up not needing -# it, then the code is just dead. Once alloca.c moves to libiberty, then we -# can eliminate this semi-kludge. -ALLOCA=alloca.o -ALLOCA1=alloca.o - -# SVR4 comes standard with terminfo, and in some implementations, the -# old termcap descriptions are incomplete. So ensure that we use the -# new terminfo interface and latest terminal descriptions. -TERMCAP=-ltermlib - -# SVR4 puts the BSD compatible install in /usr/ucb. -INSTALL = /usr/ucb/install -c diff --git a/gdb/config/stratus.mt b/gdb/config/stratus.mt deleted file mode 100644 index e8d288cdf2..0000000000 --- a/gdb/config/stratus.mt +++ /dev/null @@ -1,5 +0,0 @@ -# Target: Stratus machine running SVR4. -# The i860 files are not yet released to FSF. -TDEPFILES= i860-pinsn.o exec.o i860-tdep.o solib.o -#TDEPFILES= exec.o solib.o -TM_FILE= tm-stratus.h diff --git a/gdb/config/sun2os3.mh b/gdb/config/sun2os3.mh deleted file mode 100644 index a3ef6278eb..0000000000 --- a/gdb/config/sun2os3.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sun 2, running SunOS 3 -XDEPFILES= -XM_FILE= xm-sun2.h -NAT_FILE= nm-sun2.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o sun3-nat.o diff --git a/gdb/config/sun2os3.mt b/gdb/config/sun2os3.mt deleted file mode 100644 index bee830dd96..0000000000 --- a/gdb/config/sun2os3.mt +++ /dev/null @@ -1,8 +0,0 @@ -# Target: Sun 2, running SunOS 3 -# The system-supplied assembler re-orders the symbols so that gdb -# can't find "gcc_compiled.". -#msg If you compile your program with GCC, use the GNU assembler. -#msg - -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-sun2.h diff --git a/gdb/config/sun2os4.mh b/gdb/config/sun2os4.mh deleted file mode 100644 index 617642d93c..0000000000 --- a/gdb/config/sun2os4.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sun 2, running SunOS 4 -XDEPFILES= -XM_FILE= xm-sun2.h -NAT_FILE= nm-sun2.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o sun3-nat.o diff --git a/gdb/config/sun2os4.mt b/gdb/config/sun2os4.mt deleted file mode 100644 index 4443c5bcc2..0000000000 --- a/gdb/config/sun2os4.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sun 2, running SunOS 4 -TDEPFILES= exec.o m68k-pinsn.o solib.o m68k-tdep.o -TM_FILE= tm-sun2os4.h diff --git a/gdb/config/sun386.mh b/gdb/config/sun386.mh deleted file mode 100644 index ee748dbd6a..0000000000 --- a/gdb/config/sun386.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sun 386i -XDEPFILES= -XM_FILE= xm-sun386.h -NAT_FILE= nm-sun386.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o sun386-nat.o diff --git a/gdb/config/sun386.mt b/gdb/config/sun386.mt deleted file mode 100644 index 26bd7c3310..0000000000 --- a/gdb/config/sun386.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sun 386i target configuration file. -TDEPFILES= i386-pinsn.o solib.o -TM_FILE= tm-sun386.h diff --git a/gdb/config/sun3os3.mh b/gdb/config/sun3os3.mh deleted file mode 100644 index 1b937932a8..0000000000 --- a/gdb/config/sun3os3.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sun 3, running SunOS 3 -XDEPFILES= -XM_FILE= xm-sun3.h -NAT_FILE= nm-sun3.h -NATDEPFILES= fork-child.o inftarg.o infptrace.o corelow.o sun3-nat.o diff --git a/gdb/config/sun3os3.mt b/gdb/config/sun3os3.mt deleted file mode 100644 index fa3c66268f..0000000000 --- a/gdb/config/sun3os3.mt +++ /dev/null @@ -1,8 +0,0 @@ -# Target: Sun 3, running SunOS 3 -# The system-supplied assembler re-orders the symbols so that gdb -# can't find "gcc_compiled.". -#msg If you compile your program with GCC, use the GNU assembler. -#msg - -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o -TM_FILE= tm-sun3.h diff --git a/gdb/config/sun3os4.mh b/gdb/config/sun3os4.mh deleted file mode 100644 index 460f302442..0000000000 --- a/gdb/config/sun3os4.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sun 3, running SunOS 4 -XDEPFILES= -XM_FILE= xm-sun3os4.h -NAT_FILE= nm-sun3.h -NATDEPFILES= fork-child.o inftarg.o infptrace.o corelow.o sun3-nat.o diff --git a/gdb/config/sun3os4.mt b/gdb/config/sun3os4.mt deleted file mode 100644 index c249002376..0000000000 --- a/gdb/config/sun3os4.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sun 3, running SunOS 4, as a target system -TDEPFILES= exec.o m68k-pinsn.o solib.o m68k-tdep.o -TM_FILE= tm-sun3os4.h diff --git a/gdb/config/sun4os4.mh b/gdb/config/sun4os4.mh deleted file mode 100644 index 7cdb2d0d53..0000000000 --- a/gdb/config/sun4os4.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Sun 4 or Sparcstation, running SunOS 4 -XDEPFILES= ser-bsd.o -XM_FILE= xm-sun4os4.h -NAT_FILE= nm-sun4os4.h -NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o diff --git a/gdb/config/sun4os4.mt b/gdb/config/sun4os4.mt deleted file mode 100644 index 39928b8901..0000000000 --- a/gdb/config/sun4os4.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sun 4 or Sparcstation, running SunOS 4 -TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o solib.o -TM_FILE= tm-sun4os4.h diff --git a/gdb/config/sun4sol2.mh b/gdb/config/sun4sol2.mh deleted file mode 100644 index 394cd4f254..0000000000 --- a/gdb/config/sun4sol2.mh +++ /dev/null @@ -1,36 +0,0 @@ -# Host: Sun 4 or Sparcstation, running Solaris 2 -XDEPFILES= -XM_FILE= xm-sun4sol2.h -NAT_FILE= nm-sysv4.h -NATDEPFILES= corelow.o exec.o solib.o procfs.o fork-child.o -SYSV_DEFINE=-DSYSV -REGEX=regex.o -REGEX1=regex.o - -# We need to find alloca() somewhere. Gcc has one built in, but most other -# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because -# we have to be careful not to pull in anything else from the library (lots -# of things are broken in most SVR4 versions). The best solution is to just -# compile alloca.c and link it into the executable. If we end up not needing -# it, then the code is just dead. Once alloca.c moves to libiberty, then we -# can eliminate this semi-kludge. -####ALLOCA=alloca.o -####ALLOCA1=alloca.o - -# SVR4 comes standard with terminfo, and in some implementations, the -# old termcap descriptions are incomplete. So ensure that we use the -# new terminfo interface and latest terminal descriptions. -TERMCAP=-ltermlib - -# Solaris-2 makes `install' optional in the Berkeley compatability pkg. -# cp will do fine. -INSTALL = cp - -# If you are compiling with Sun's compiler, add the -xs option to CC -# (e.g. `make CC="cc -xs"'). -# Sun's compilers require the -xs option to produce debug information -# in the final linked executable. Otherwise they leave it in the .o -# files only, with undocumented pointers to it in the linked executable. -# This is commented out because we don't assume that the Sun compiler -# is in use. -#MH_CFLAGS=-xs diff --git a/gdb/config/sun4sol2.mt b/gdb/config/sun4sol2.mt deleted file mode 100644 index 99eb7ae0ff..0000000000 --- a/gdb/config/sun4sol2.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sun 4 or Sparcstation, running Solaris 2 -TDEPFILES= sparc-tdep.o sparc-pinsn.o -TM_FILE= tm-sun4sol2.h diff --git a/gdb/config/symmetry.mh b/gdb/config/symmetry.mh deleted file mode 100644 index e065464c11..0000000000 --- a/gdb/config/symmetry.mh +++ /dev/null @@ -1,3 +0,0 @@ -# Host: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387. -XDEPFILES= infptrace.o inftarg.o fork-child.o symm-xdep.o -XM_FILE= xm-symmetry.h diff --git a/gdb/config/symmetry.mt b/gdb/config/symmetry.mt deleted file mode 100644 index e241993d04..0000000000 --- a/gdb/config/symmetry.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387. -TDEPFILES= symm-tdep.o i386-pinsn.o -TM_FILE= tm-symmetry.h diff --git a/gdb/config/tahoe.mh b/gdb/config/tahoe.mh deleted file mode 100644 index 4701af9805..0000000000 --- a/gdb/config/tahoe.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: CCI or Harris Tahoe running BSD Unix -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -REGEX=regex.o -REGEX1=regex.o -XM_FILE= xm-tahoe.h diff --git a/gdb/config/tahoe.mt b/gdb/config/tahoe.mt deleted file mode 100644 index 9527900e0f..0000000000 --- a/gdb/config/tahoe.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: CCI or Harris Tahoe running BSD Unix -TDEPFILES= tahoe-pinsn.o exec.o -TM_FILE= tm-tahoe.h diff --git a/gdb/config/tm-sunos.h b/gdb/config/tm-sunos.h new file mode 100644 index 0000000000..2559efc912 --- /dev/null +++ b/gdb/config/tm-sunos.h @@ -0,0 +1,21 @@ +/* Target machine sub-description for SunOS version 4. + This is included by other tm-*.h files to specify SunOS-specific stuff. + Copyright 1990, 1991, 1992, 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "solib.h" /* Support for shared libraries. */ diff --git a/gdb/config/tm-sysv4.h b/gdb/config/tm-sysv4.h new file mode 100644 index 0000000000..f63d1749d9 --- /dev/null +++ b/gdb/config/tm-sysv4.h @@ -0,0 +1,45 @@ +/* Macro definitions for GDB on all SVR4 target systems. + Copyright 1991, 1992, 1993 Free Software Foundation, Inc. + Written by Fred Fish at Cygnus Support (fnf@cygnus.com). + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "solib.h" /* Support for shared libraries. */ + +/* For SVR4 shared libraries, each call to a library routine goes through + a small piece of trampoline code in the ".init" section. Although each + of these fragments is labeled with the name of the routine being called, + the gdb symbol reading code deliberately ignores them so it won't confuse + them with the real functions. It does however know about the label that + precedes all of the fragments, which is "_init". Thus when we lookup a + function that corresponds to a PC value which is in one of the trampoline + fragments, we'll appear to be in the function "_init". The following + macro will evaluate to nonzero when NAME is valid and matches "_init". + The horribly ugly wait_for_inferior() routine uses this macro to detect + when we have stepped into one of these fragments. */ + +#define IN_SOLIB_TRAMPOLINE(pc,name) ((name) && (STREQ ("_init", name))) + +/* It is unknown which, if any, SVR4 assemblers do not accept dollar signs + in identifiers. The default in G++ is to use dots instead, for all SVR4 + systems, so we make that our default also. FIXME: There should be some + way to get G++ to tell us what CPLUS_MARKER it is using, perhaps by + stashing it in the debugging information as part of the name of an + invented symbol ("gcc_cplus_marker$" for example). */ + +#undef CPLUS_MARKER +#define CPLUS_MARKER '.' diff --git a/gdb/config/ultra3.mh b/gdb/config/ultra3.mh deleted file mode 100644 index 5bcfb4ca43..0000000000 --- a/gdb/config/ultra3.mh +++ /dev/null @@ -1,9 +0,0 @@ -# Host: NYU Ultracomputer (AMD 29000 running Unix) -CC=u3cc -MUNCH_DEFINE="MUNCH_NM=u3nm" -XDEPFILES= ultra3-xdep.o -XM_FILE= xm-ultra3.h -NAT_FILE= nm-ultra3.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o ultra3-nat.o -MH_CFLAGS = -DSYM1 -XM_CLIBS = -lsysv -ljobs -ltermlib diff --git a/gdb/config/ultra3.mt b/gdb/config/ultra3.mt deleted file mode 100644 index 840b79d85e..0000000000 --- a/gdb/config/ultra3.mt +++ /dev/null @@ -1,5 +0,0 @@ -# Target: AMD 29000 running Unix on New York Univerisity processor board. -TDEPFILES= am29k-pinsn.o am29k-tdep.o -TM_FILE= tm-ultra3.h -# SYM1 is some OS they have. -MT_CFLAGS = -DSYM1 diff --git a/gdb/config/umax.mh b/gdb/config/umax.mh deleted file mode 100644 index 56d49abd08..0000000000 --- a/gdb/config/umax.mh +++ /dev/null @@ -1,5 +0,0 @@ -# Host: Encore running umax 4.2 -XDEPFILES= umax-xdep.o -XM_FILE= xm-umax.h -NAT_FILE= nm-umax.h -NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o diff --git a/gdb/config/umax.mt b/gdb/config/umax.mt deleted file mode 100644 index 3c6063272b..0000000000 --- a/gdb/config/umax.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Encore running umax 4.2 -TDEPFILES= ns32k-pinsn.o -TM_FILE= tm-umax.h diff --git a/gdb/config/vax.mt b/gdb/config/vax.mt deleted file mode 100644 index ca4d36b232..0000000000 --- a/gdb/config/vax.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: DEC VAX running BSD or Ultrix -TDEPFILES= vax-pinsn.o exec.o -TM_FILE= tm-vax.h diff --git a/gdb/config/vaxbsd.mh b/gdb/config/vaxbsd.mh deleted file mode 100644 index 5077a7b4e7..0000000000 --- a/gdb/config/vaxbsd.mh +++ /dev/null @@ -1,12 +0,0 @@ -# Host: DEC VAX running BSD -# The following types of /bin/cc failures have been observed: -# 1. Something in readline.c which I have never seen -# 2. ``"values.c", line 816: compiler error: schain botch'' -#msg /bin/cc has been known to fail on VAXen running BSD4.3 -#msg If this occurs, use gcc -#msg (but see comments in Makefile.dist about compiling with gcc). - -XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o -REGEX=regex.o -REGEX1=regex.o -XM_FILE= xm-vaxbsd.h diff --git a/gdb/config/vaxult.mh b/gdb/config/vaxult.mh deleted file mode 100644 index 7c2fccacff..0000000000 --- a/gdb/config/vaxult.mh +++ /dev/null @@ -1,8 +0,0 @@ -# Host: DEC VAX running Ultrix - -XDEPFILES= -REGEX=regex.o -REGEX1=regex.o -XM_FILE= xm-vaxult.h -NAT_FILE= nm-vax.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o diff --git a/gdb/config/vaxult2.mh b/gdb/config/vaxult2.mh deleted file mode 100644 index 532a4fda29..0000000000 --- a/gdb/config/vaxult2.mh +++ /dev/null @@ -1,8 +0,0 @@ -# Host: DEC VAX running Ultrix - -XDEPFILES= -REGEX=regex.o -REGEX1=regex.o -XM_FILE= xm-vaxult2.h -NAT_FILE= nm-vax.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o diff --git a/gdb/config/vxworks68.mt b/gdb/config/vxworks68.mt deleted file mode 100644 index b37edbd3b3..0000000000 --- a/gdb/config/vxworks68.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: VxWorks running on a 68000 -TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o remote-vx.o xdr_ld.o xdr_ptrace.o xdr_rdb.o -TM_FILE= tm-vx68.h diff --git a/gdb/config/vxworks960.mt b/gdb/config/vxworks960.mt deleted file mode 100644 index 287d1850bb..0000000000 --- a/gdb/config/vxworks960.mt +++ /dev/null @@ -1,5 +0,0 @@ -# Target: VxWorks running on an Intel 960 -TDEPFILES= exec.o i960-pinsn.o i960-tdep.o remote-vx.o xdr_ld.o xdr_ptrace.o xdr_rdb.o -TM_FILE= tm-vx960.h -# Define this for the vx-share routines, which don't see param.h. -MT_CFLAGS= -DI80960 diff --git a/gdb/config/xm-sysv4.h b/gdb/config/xm-sysv4.h new file mode 100644 index 0000000000..c2cc1f66ee --- /dev/null +++ b/gdb/config/xm-sysv4.h @@ -0,0 +1,55 @@ +/* Definitions for running gdb on a host machine running any flavor of SVR4. + Copyright 1991, 1992 Free Software Foundation, Inc. + Written by Fred Fish at Cygnus Support (fnf@cygnus.com). + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* Use SVR4 style shared library support */ + +#define SVR4_SHARED_LIBS + +/* SVR4 has termio facilities. */ + +#define HAVE_TERMIO + +/* SVR4 has mmap facilities */ + +#define HAVE_MMAP + +/* TIOCGETC and TIOCGLTC are picked up somewhere, but struct tchars + and struct ltchars are not. This makes problems for inflow.c. + It is unknown at this time if this is a generic SVR4 problem or + one just limited to the initial SVR4 port host machine. */ + +#define TIOCGETC_BROKEN +#define TIOCGLTC_BROKEN + +/* SVR4 is a derivative of System V Release 3 (USG) */ + +#define USG + +/* Get rid of any system-imposed stack limit if possible. */ + +/* #define SET_STACK_LIMIT_HUGE */ + +/* Use setpgid(0,0) to run inferior in a separate process group */ + +#define NEED_POSIX_SETPGID + +/* We have to include these files now, so that GDB will not make + competing definitions in defs.h. */ +#include diff --git a/gdb/config/z8ksim.mt b/gdb/config/z8ksim.mt deleted file mode 100644 index 095dd660fe..0000000000 --- a/gdb/config/z8ksim.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Z8000 simulator -TDEPFILES= exec.o z8k-tdep.o remote-z8k.o ../sim/z8k/libsim.a ../opcodes/libopcodes.a -TM_FILE= tm-z8k.h