+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
/* 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.
#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 */
#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()
/* Include the generic SVR4 definitions. */
-#include "nm-sysv4.h"
+#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
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
/* 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)
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
-
/* 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.
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,
/* 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
/* 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