* utils.c (strcmp_iw): Add a hack to allow "FOO(ARGS)" to
[deliverable/binutils-gdb.git] / gdb / xm-sysv4.h
index 8d5b0d1e27e6b11c1d1ac12082d72ded7ff3c6a6..4968b5e88a43010ed047fd8171b2828a85f228d1 100644 (file)
@@ -66,17 +66,18 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define NEED_POSIX_SETPGID
 
-/* Declare the return types (or supply prototypes for) functions which
-   do not end up being defined by any of the currently included system
-   header files, and which cannot be defined in any common file since a
-   single definition is known to cause portability problems due to 
-   conflicts with definitions on other systems.
-   FIXME:  This may only be a temporary solution (fnf) */
-
-#ifdef __STDC__
-extern void *malloc(size_t);
-extern void *realloc(void *, size_t);
-#else
-extern char *malloc();
-extern char *realloc();
+/* 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.024413 seconds and 4 git commands to generate.