* config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
authorStan Shebs <shebs@codesourcery.com>
Thu, 1 Feb 1996 02:47:32 +0000 (02:47 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 1 Feb 1996 02:47:32 +0000 (02:47 +0000)
* config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Move to here
from config/sparc/xm-nbsd.h.
* config/sparc/nm-sun4os4 (CHILD_PREPARE_TO_STORE): Ditto, from
config/sparc/xm-sparc.h.
* config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
(PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
* config/sparc/sun4sol2.mh (NAT_FILE): Update.
* config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
housekeeping

gdb/ChangeLog
gdb/config/sparc/nm-nbsd.h
gdb/config/sparc/nm-sun4os4.h
gdb/config/sparc/nm-sun4sol2.h [new file with mode: 0644]
gdb/config/sparc/nm-sysv4.h [deleted file]
gdb/config/sparc/sun4sol2.mh
gdb/config/sparc/xm-nbsd.h
gdb/config/sparc/xm-sparc.h
gdb/config/sparc/xm-sun4os4.h
gdb/config/sparc/xm-sun4sol2.h

index aec9fe3cddd0d521811ff24dbba5a8bdd8662fca..6716dc783ebd85a3c361e06a2ded7611942b8e23 100644 (file)
@@ -1,3 +1,16 @@
+Wed Jan 31 18:36:27 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
+
+       * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Move to here
+       from config/sparc/xm-nbsd.h.
+       * config/sparc/nm-sun4os4 (CHILD_PREPARE_TO_STORE): Ditto, from
+       config/sparc/xm-sparc.h.
+       * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
+       (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
+       * config/sparc/sun4sol2.mh (NAT_FILE): Update.
+       * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
+
 Wed Jan 31 17:20:26 1996  Jeffrey A Law  (law@cygnus.com)
 
        * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
index 542074532cd791bc3183afccadfdf9ffe0df44bc..0ab5c1ab54402590c81bc552ef0e53ecc3544048 100644 (file)
@@ -1,5 +1,6 @@
 /* Native-dependent definitions for Sparc running NetBSD, for GDB.
-   Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1987, 1989, 1992, 1995, 1996
+   Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -25,4 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define FETCH_INFERIOR_REGISTERS
 
+/* Before storing, we need to read all the registers.  */
+
+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
 #endif /* NM_NBSD_H */
index 1b7fabb60c4015051cc4926cee737c57913dc951..9da96be5ddc64e95cf6410958499a30747e3f145 100644 (file)
@@ -25,6 +25,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define FETCH_INFERIOR_REGISTERS
 
+/* Before storing, we need to read all the registers.  */
+
+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
 /* Return sizeof user struct to callers in less machine dependent routines */
 
 #define KERNEL_U_SIZE kernel_u_size()
diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h
new file mode 100644 (file)
index 0000000..f3cfe6b
--- /dev/null
@@ -0,0 +1,30 @@
+/* Native-dependent definitions for Sparc running SVR4.
+   Copyright 1994 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+
+/* Include the generic SVR4 definitions.  */
+
+#include <nm-sysv4.h>
+
+/* Before storing, we need to read all the registers.  */
+
+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
+/* Solaris PSRVADDR support does not seem to include a place for nPC.  */
+
+#define PRSVADDR_BROKEN
diff --git a/gdb/config/sparc/nm-sysv4.h b/gdb/config/sparc/nm-sysv4.h
deleted file mode 100644 (file)
index 3a46520..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Native-dependent definitions for Sparc running SVR4.
-   Copyright 1994 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
-
-/* Include the generic SVR4 definitions.  */
-
-#include "nm-sysv4.h"
index 847d2a169836eae8f819f1d7e2b9c364f432edc0..b24ce9ffbd1cdf74a949486937148637f49c3b7c 100644 (file)
@@ -4,7 +4,7 @@ XM_FILE= xm-sun4sol2.h
 XDEPFILES= ser-tcp.o
 XM_CLIBS= -lsocket -lnsl
 
-NAT_FILE= nm-sysv4.h
+NAT_FILE= nm-sun4sol2.h
 NATDEPFILES= corelow.o core-sol2.o solib.o procfs.o fork-child.o
 
 # SVR4 comes standard with terminfo, and in some implementations, the
index 38bb04aee44b6f4ccbd710307475bec959a862c1..95fe8464c64f3cae8ee035e8b9438a2d19302c49 100644 (file)
@@ -19,6 +19,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 /* Get generic NetBSD host definitions. */
 #include "xm-nbsd.h"
-
-/* Before storing, we need to read all the registers. */
-#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
index 8625ee9140da019ae29b2f28e9600b892e69ace5..06c247ea9c7cd25981b4d30d38b7c80cba0ea335 100644 (file)
@@ -20,12 +20,3 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define HOST_BYTE_ORDER BIG_ENDIAN
-
-/* Before storing, we need to read all the registers.  */
-
-#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
-
-/* It does have a wait structure, and it might help things out . . . */
-
-#define HAVE_WAIT_STRUCT
-
index 2435154905b7eaa6375df40d415dae8589272a31..f6b465ec22bc6c03aa6cf6796b19eb424eb5d2b2 100644 (file)
@@ -1,5 +1,6 @@
 /* Macro definitions for running gdb on a Sun 4 running sunos 4.
-   Copyright (C) 1989, Free Software Foundation, Inc.
+   Copyright (C) 1989, 1993, 1994, 1995, 1996
+   Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -18,6 +19,7 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "sparc/xm-sparc.h"
+
 #define FPU
 
 /* If you expect to use the mmalloc package to obtain mapped symbol files,
@@ -40,9 +42,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 /* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */
 
 #define PTRACE_ARG3_TYPE char*
-
-/* Using termios is required to save and restore ICRNL and ONLCR
-   separately.  */
-
-/* At least SunOS 4.1.1 has termios.  I'm not sure about 4.0.3.  */
-#define HAVE_TERMIOS
index 718c59df3f419402b6764998eb4557a6a1d628b1..ec5390f3db0fdab8c3573621fb983c2028c3aeae 100644 (file)
@@ -48,9 +48,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 /* May be needed, may be not?  From Pace Willisson's port.  FIXME.  */
 #define NEED_POSIX_SETPGID
 
-/* Solaris PSRVADDR support does not seem to include a place for nPC.  */
-#define PRSVADDR_BROKEN
-
 /* solaris doesn't have siginterrupt, though it has sigaction; however,
    in this case siginterrupt would just be setting the default. */
 #define NO_SIGINTERRUPT
This page took 0.037647 seconds and 4 git commands to generate.