sun4sol2 native stuff
authorK. Richard Pixley <rich@cygnus>
Thu, 22 Oct 1992 02:00:07 +0000 (02:00 +0000)
committerK. Richard Pixley <rich@cygnus>
Thu, 22 Oct 1992 02:00:07 +0000 (02:00 +0000)
gdb/.Sanitize
gdb/ChangeLog
gdb/Makefile.in
gdb/config/sun4sol2.mh
gdb/config/sun4sol2.mt
gdb/nm-sysv4.h [new file with mode: 0644]
gdb/xm-sysv4.h

index 0e48784b522ef8fac8fb98edc9f8fca10aa92b5a..9fb5f252fb26681badedfb5c183b52fb6b661e87 100644 (file)
@@ -162,6 +162,7 @@ nm-sun2.h
 nm-sun3.h
 nm-sun386.h
 nm-sun4os4.h
+nm-sysv4.h
 nm-trash.h
 nm-ultra3.h
 nm-umax.h
index 30215ad68befa8e2dca02d5c1520eaa560cb388d..12d21f1eb201630b9c69d52ce4a56c52193dd55f 100644 (file)
@@ -1,3 +1,14 @@
+Wed Oct 21 17:46:07 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       Native support for sun4sol2.
+
+       * xm-sysv4.h (USE_PROC_FS, ATTACH_DETACH): removed to nm-sysv4.h.
+       * nm-sysv4.h: new file.
+       * Makefile.in (HFILES): added nm-sysv4.h.
+       * config/sun4sol2.mh (XDEPFILES): removed procfs.o fork-child.o.
+         (NAT_FILE, NATDEPFILES): new macros.
+       * config/sun4sol2.mt (TDEPFILES): removed exec.o and solib.o.
+
 Wed Oct 21 03:51:01 1992  John Gilmore  (gnu@cygnus.com)
 
        * coredep.c:  Include "nm.h" to get REGISTER_U_ADDR.
index ca499f8c0b771c5d22cc4c08f58c68d0bf603621..ff8b90bbdff962c3877c39110bc35a9da68af3bd 100644 (file)
@@ -256,7 +256,7 @@ HFILES=     breakpoint.h buildsym.h call-cmds.h command.h defs.h \
        nm-i386bsd.h nm-i386mach.h nm-i386v.h nm-i386v4.h nm-irix3.h \
        nm-irix4.h nm-linux.h nm-m88k.h nm-mips.h nm-news.h nm-rs6000.h \
        nm-sun2.h nm-sun3.h nm-sun386.h nm-sun4os4.h nm-trash.h \
-       nm-ultra3.h nm-hppab.h nm-hppah.h nm-umax.h
+       nm-ultra3.h nm-hppab.h nm-hppah.h nm-umax.h nm-sysv4.h
 
 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
 
index 3eb3e9abf4d976b8177f2488a1863cc429579076..394cd4f254eb48219e0c23263c2384fac58b5ede 100644 (file)
@@ -1,6 +1,8 @@
 # Host: Sun 4 or Sparcstation, running Solaris 2
-XDEPFILES= procfs.o fork-child.o
+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
index 9c42fd506846f6118bf282ce5d5bcc9906b05fba..99eb7ae0ff21aec869be88507cb8606137c012d7 100644 (file)
@@ -1,3 +1,3 @@
 # Target: Sun 4 or Sparcstation, running Solaris 2
-TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o solib.o
+TDEPFILES= sparc-tdep.o sparc-pinsn.o
 TM_FILE= tm-sun4sol2.h
diff --git a/gdb/nm-sysv4.h b/gdb/nm-sysv4.h
new file mode 100644 (file)
index 0000000..4aff700
--- /dev/null
@@ -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
index f2697a97c6a2315caa1a17b0dc7cea1336b974a5..c2cc1f66ee274d93a00b90af5b2372b54ef84f2b 100644 (file)
@@ -22,10 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define SVR4_SHARED_LIBS
 
-/* SVR4 has /proc support, so use it instead of ptrace. */
-
-#define USE_PROC_FS
-
 /* SVR4 has termio facilities. */
 
 #define HAVE_TERMIO
@@ -50,11 +46,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* #define SET_STACK_LIMIT_HUGE */
 
-/* SVR4 machines can easily do attach and detach via /proc (procfs.c)
-   support */
-
-#define ATTACH_DETACH
-
 /* Use setpgid(0,0) to run inferior in a separate process group */
 
 #define NEED_POSIX_SETPGID