Oops! Retract last change. Didn't mean to pollute things with energize just
[deliverable/binutils-gdb.git] / gdb / xm-sysv4.h
index b6d1025635f7cf15eed27e641d9fddf2799238e5..4968b5e88a43010ed047fd8171b2828a85f228d1 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions for running gdb on a host machine running any flavor of SVR4.
-   Copyright (C) 1991, Free Software Foundation, Inc.
-   Written by Fred Fish at Cygnus Support (fnf@cygint)
+   Copyright 1991, 1992 Free Software Foundation, Inc.
+   Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
 
 This file is part of GDB.
 
@@ -30,6 +30,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define HAVE_TERMIO
 
+/* SVR4 has mmap facilities */
+
+#define HAVE_MMAP
+
 /* TIOCGETC and TIOCGLTC are picked up somewhere, but struct tchars
    and struct ltchars are not.  This makes problems for inflow.c.
    It is unknown at this time if this is a generic SVR4 problem or
@@ -58,3 +62,22 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define CREATE_INFERIOR_HOOK(pid) inferior_proc_init(pid)
 #endif
 
+/* Use setpgid(0,0) to run inferior in a separate process group */
+
+#define NEED_POSIX_SETPGID
+
+/* If gdb's signal handling changes (due to a "handle" command), then
+   this macro expands to an action to perform to notify other parts of
+   gdb that might care, that signal handling has changed.  For hosts using
+   the /proc interface, gdb has more control over which signals cause the
+   inferior to stop and which do not.  In some cases, it is desirable to
+   have signals delivered directly to the inferior without involving the
+   debugger at all. */
+
+#ifdef USE_PROC_FS
+#define NOTICE_SIGNAL_HANDLING_CHANGE proc_signal_handling_change()
+#endif
+
+/* We have to include these files now, so that GDB will not make
+   competing definitions in defs.h.  */
+#include <limits.h>
This page took 0.023309 seconds and 4 git commands to generate.