From 5c820c1937d12a81a056533e540b682e7a7b528d Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 6 Oct 1992 09:27:57 +0000 Subject: [PATCH] * configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf. --- gdb/config/.Sanitize | 2 ++ gdb/config/i386sol2.mh | 31 +++++++++++++++++++++++++++++++ gdb/config/i386sol2.mt | 3 +++ gdb/configure.in | 2 ++ 4 files changed, 38 insertions(+) create mode 100644 gdb/config/i386sol2.mh create mode 100644 gdb/config/i386sol2.mt diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index 8f37f7470d..8af146d760 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -56,6 +56,8 @@ hppahpux.mt i386aout.mt i386mach.mh i386sco.mh +i386sol2.mh +i386sol2.mt i386v.mh i386v.mt i386v32.mh diff --git a/gdb/config/i386sol2.mh b/gdb/config/i386sol2.mh new file mode 100644 index 0000000000..49e7c6d1fe --- /dev/null +++ b/gdb/config/i386sol2.mh @@ -0,0 +1,31 @@ +# 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= procfs.o fork-child.o i386-xdep.o + +# Use the i386 SVR4 host configuration file. +XM_FILE= xm-i386v4.h + +# 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 new file mode 100644 index 0000000000..4902e43bca --- /dev/null +++ b/gdb/config/i386sol2.mt @@ -0,0 +1,3 @@ +# Target: Intel 386 running SVR4 +TDEPFILES= exec.o i386-pinsn.o i386-tdep.o i387-tdep.o solib.o +TM_FILE= tm-i386v4.h diff --git a/gdb/configure.in b/gdb/configure.in index dd527e982b..be42189200 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -24,6 +24,7 @@ i[34]86-*-go32) gdb_host=go32 ;; i[34]86-*-linux) gdb_host=linux ;; i[34]86-*-mach) gdb_host=i386mach ;; i[34]86-*-scosysv*) gdb_host=i386sco ;; +i[34]86-*-solaris*) gdb_host=i386sol2 ;; i[34]86-*-sunos*) gdb_host=sun386 ;; i[34]86-*-sysv32) gdb_host=i386v32 ;; i[34]86-*-sysv4*) gdb_host=i386v4 ;; @@ -131,6 +132,7 @@ i[34]86-*-aout) gdb_target=i386aout ;; i[34]86-*-coff) gdb_target=i386v ;; i[34]86-*-elf) gdb_target=i386v ;; +i[34]86-*-solaris*) gdb_target=i386sol2 ;; i[34]86-*-sunos*) gdb_target=sun386 ;; i[34]86-*-sysv4*) gdb_target=i386v4 ;; i[34]86-*-scosysv3*) gdb_target=i386v ;; -- 2.34.1