+++ /dev/null
-# Host: AT&T 3b1/Unix pc
-# I don't think cc has been tried. -traditional for <sys/ioctl.h>
-# (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
+++ /dev/null
-# Target: AT&T 3b1/Unix pc
-TDEPFILES= exec.o m68k-pinsn.o
-TM_FILE= tm-3b1.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Altos 3068 (68k, System V release 2)
-TDEPFILES= m68k-pinsn.o exec.o
-TM_FILE= tm-altos.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Commodore Amiga running SVR4
-TDEPFILES= m68k-pinsn.o exec.o m68k-tdep.o solib.o
-TM_FILE= tm-amix.h
+++ /dev/null
-# 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
+++ /dev/null
-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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Acorn RISC machine running RISCiX (4.3bsd)
-TDEPFILES= arm-tdep.o arm-pinsn.o
-TM_FILE= tm-arm.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Big-endian MIPS machine such as Sony News
-TDEPFILES= mips-pinsn.o mips-tdep.o exec.o
-TM_FILE= tm-bigmips.h
+++ /dev/null
-# Host: Convex Unix (4bsd)
-XDEPFILES= convex-xdep.o
-XM_FILE= xm-convex.h
+++ /dev/null
-# Target: Convex Unix (4bsd)
-TDEPFILES= convex-tdep.o convex-pinsn.o
-TM_FILE= tm-convex.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Little-endian MIPS machine such as DECstation.
-TDEPFILES= mips-pinsn.o mips-tdep.o exec.o
-TM_FILE= tm-mips.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Motorola 88000
-TDEPFILES= m88k-tdep.o m88k-pinsn.o
-TM_FILE= tm-delta88.h
+++ /dev/null
-# 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
+++ /dev/null
-MH_CFLAGS=-D__GO32__ -D__MSDOS__
-XDEPFILES= go32-xdep.o ser-go32.o
-XM_FILE= xm-go32.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Hewlett-Packard 9000 series 300, running BSD
-TDEPFILES= m68k-pinsn.o m68k-tdep.o
-TM_FILE= tm-hp300bsd.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# TARGET: HP PA-RISC running bsd
-TDEPFILES= hppa-pinsn.o hppab-tdep.o
-TM_FILE= tm-hppab.h
-
+++ /dev/null
-# 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
+++ /dev/null
-# TARGET: HP PA-RISC running hpux
-TDEPFILES= hppa-pinsn.o hppah-tdep.o exec.o
-TM_FILE= tm-hppah.h
+++ /dev/null
-# Target: Intel 386 with a.out
-
-TDEPFILES= exec.o i386-tdep.o i386-pinsn.o
-TM_FILE= tm-i386v.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Intel 386 running BSD
-TDEPFILES= i386-tdep.o i386-pinsn.o
-TM_FILE= tm-i386bsd.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Intel 386 running SVR4
-TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o
-TM_FILE= tm-i386v4.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Intel 386 running System V
-TDEPFILES= exec.o i386-tdep.o i386-pinsn.o i387-tdep.o
-TM_FILE= tm-i386v.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Intel 386 running SVR4
-TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o
-TM_FILE= tm-i386v4.h
+++ /dev/null
-# Target: Big-endian IDT board.
-TDEPFILES= mips-pinsn.o mips-tdep.o exec.o remote-mips.o
-TM_FILE= tm-bigmips.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: SGI mips
-TDEPFILES= mips-pinsn.o mips-tdep.o exec.o
-TM_FILE= tm-irix3.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: ISI Optimum V (3.05) under 4.3bsd.
-TDEPFILES= exec.o m68k-pinsn.o
-TM_FILE= tm-isi.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Intel 386 with a.out
-TDEPFILES= i386-tdep.o i386-pinsn.o i387-tdep.o
-TM_FILE= tm-linux.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Little-endian MIPS machine such as DECstation.
-TDEPFILES= mips-pinsn.o mips-tdep.o exec.o
-TM_FILE= tm-mips.h
+++ /dev/null
-# Target: Motorola 68xxx with floating point
-TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o
-TM_FILE= tm-68k-fp.h
+++ /dev/null
-# Target: Motorola 68xxx without floating point
-TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o
-TM_FILE= tm-68k-nofp.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Motorola 88000 Binary Compatability Standard
-TDEPFILES= m88k-tdep.o m88k-pinsn.o
-TM_FILE= tm-m88k.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Merlin running utek 2.1
-TDEPFILES= exec.o ns32k-pinsn.o
-TM_FILE= tm-merlin.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Intel 386 running SVR4
-TDEPFILES= i386-pinsn.o i386-tdep.o i387-tdep.o solib.o
-TM_FILE= tm-i386v4.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Sony news series 700/800/900 (68020) running NewsOS version 3.
-TDEPFILES= m68k-pinsn.o m68k-tdep.o
-TM_FILE= tm-news.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
--- /dev/null
+/* 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
--- /dev/null
+/* this file is temporary scaffolding until all hosts have the
+ native/target/host split in place. FIXME. */
+++ /dev/null
-# Host: "no target". This can be used to build you
-# a Makefile that only runs administrative commands like 'clean',
-# 'gdb.tar.Z', etc.
+++ /dev/null
-# Target: "no target".
-# This can be used to build you a Makefile that only runs administrative
-# commands like 'clean', 'gdb.tar.Z', etc.
+++ /dev/null
-# Host: Gould NP1
-XDEPFILES= infptrace.o inftarg.o fork-child.o gould-xdep.o
-XM_FILE= xm-np1.h
+++ /dev/null
-# Target: Gould NP1
-TDEPFILES= exec.o gould-pinsn.o
-TM_FILE= tm-np1.h
+++ /dev/null
-# Target: VxWorks running on a 68000
-TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o
-TM_FILE= tm-os68k.h
+++ /dev/null
-# Host: Gould Powernode
-XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o
-XM_FILE= xm-pn.h
+++ /dev/null
-# Target: Gould Powernode
-TDEPFILES= exec.o gould-pinsn.o
-TM_FILE= tm-pn.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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.
+++ /dev/null
-# Target: SPARC embedded
-TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o
-TM_FILE= tm-spc-em.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Sun 2, running SunOS 4
-TDEPFILES= exec.o m68k-pinsn.o solib.o m68k-tdep.o
-TM_FILE= tm-sun2os4.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Sun 386i target configuration file.
-TDEPFILES= i386-pinsn.o solib.o
-TM_FILE= tm-sun386.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Sun 4 or Sparcstation, running SunOS 4
-TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o solib.o
-TM_FILE= tm-sun4os4.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Sun 4 or Sparcstation, running Solaris 2
-TDEPFILES= sparc-tdep.o sparc-pinsn.o
-TM_FILE= tm-sun4sol2.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387.
-TDEPFILES= symm-tdep.o i386-pinsn.o
-TM_FILE= tm-symmetry.h
+++ /dev/null
-# 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
+++ /dev/null
-# Target: CCI or Harris Tahoe running BSD Unix
-TDEPFILES= tahoe-pinsn.o exec.o
-TM_FILE= tm-tahoe.h
--- /dev/null
+/* 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. */
--- /dev/null
+/* 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 '.'
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Encore running umax 4.2
-TDEPFILES= ns32k-pinsn.o
-TM_FILE= tm-umax.h
+++ /dev/null
-# Target: DEC VAX running BSD or Ultrix
-TDEPFILES= vax-pinsn.o exec.o
-TM_FILE= tm-vax.h
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
+++ /dev/null
-# 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
--- /dev/null
+/* 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 <limits.h>
+++ /dev/null
-# Target: Z8000 simulator
-TDEPFILES= exec.o z8k-tdep.o remote-z8k.o ../sim/z8k/libsim.a ../opcodes/libopcodes.a
-TM_FILE= tm-z8k.h