From 3414e4eb38123381ceb0a04ae0fd7fbb3de7e2db Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sun, 29 Mar 1992 23:22:35 +0000 Subject: [PATCH] New host and target. --- gdb/config/sun4os5.mh | 21 +++++++++++++++++++++ gdb/config/sun4os5.mt | 3 +++ 2 files changed, 24 insertions(+) create mode 100755 gdb/config/sun4os5.mh create mode 100755 gdb/config/sun4os5.mt diff --git a/gdb/config/sun4os5.mh b/gdb/config/sun4os5.mh new file mode 100755 index 00000000000..10f7c467bd8 --- /dev/null +++ b/gdb/config/sun4os5.mh @@ -0,0 +1,21 @@ +# Host: Sun 4 or Sparcstation, running SunOS 5 +XDEPFILES= procfs.o +XM_FILE= xm-sun4os5.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 diff --git a/gdb/config/sun4os5.mt b/gdb/config/sun4os5.mt new file mode 100755 index 00000000000..3f797ab732e --- /dev/null +++ b/gdb/config/sun4os5.mt @@ -0,0 +1,3 @@ +# Target: Sun 4 or Sparcstation, running SunOS 5 +TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o solib.o +TM_FILE= tm-sun4os5.h -- 2.30.2