* configure.in: Solaris config is sparc-sun-solaris2.
authorJohn Gilmore <gnu@cygnus>
Sat, 13 Jun 1992 01:56:41 +0000 (01:56 +0000)
committerJohn Gilmore <gnu@cygnus>
Sat, 13 Jun 1992 01:56:41 +0000 (01:56 +0000)
* config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht].

gdb/ChangeLog
gdb/config/sun4sol2.mh [new file with mode: 0644]
gdb/config/sun4sol2.mt [new file with mode: 0644]
gdb/configure.in

index c76cfc3fbc28d9a0cf83363900fecdf96a118761..9a533cdf1864498083b83dc901cedce67be5a0cf 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jun 12 18:54:40 1992  John Gilmore  (gnu at cygnus.com)
+
+       * configure.in:  Solaris config is sparc-sun-solaris2.
+       * config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht].
+
 Fri Jun 12 12:49:43 1992  Fred Fish  (fnf@cygnus.com)
 
        * expprint.c (print_subexp):  Add missing ']'.
diff --git a/gdb/config/sun4sol2.mh b/gdb/config/sun4sol2.mh
new file mode 100644 (file)
index 0000000..85de6ba
--- /dev/null
@@ -0,0 +1,29 @@
+# Host: Sun 4 or Sparcstation, running Solaris 2
+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
+
+# SVR4 puts the BSD compatible install in /usr/ucb.
+INSTALL = /usr/ucb/install -c
+
+# 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.
+MH_CFLAGS=-xs
diff --git a/gdb/config/sun4sol2.mt b/gdb/config/sun4sol2.mt
new file mode 100644 (file)
index 0000000..2a499e0
--- /dev/null
@@ -0,0 +1,3 @@
+# Target: Sun 4 or Sparcstation, running Solaris 2
+TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o solib.o
+TM_FILE= tm-sun4os5.h
index 825a6286ebbfd95ca764130a09e8b7b28c8ffd4b..5312f9274bcefb221ae7d1f015566dd9e575fd41 100644 (file)
@@ -65,7 +65,7 @@ sparc)
        case "${host_os}" in
        sunos3)         gdb_host=sun4os3 ;;
        sunos4)         gdb_host=sun4os4 ;;
-       sunos5*|sysv4*) gdb_host=sun4os5 ;;
+       solaris2*)      gdb_host=sun4sol2 ;;
        *)              gdb_host=sun4 ;;
        esac
        ;;
@@ -276,7 +276,7 @@ sparc)
                case "${target_os}" in
                sunos3)         gdb_target=sun4os3 ;;
                sunos4)         gdb_target=sun4os4 ;;
-               sunos5|sysv4*)  gdb_target=sun4os5 ;;
+               solaris2*)      gdb_target=sun4sol2 ;;
                *)              gdb_target=sun4 ;;
                esac
                ;;