aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-19 21:49:27 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-19 21:49:27 +0000
commitd566d62a5a05727a3d22397efcbd7c8d412f071e (patch)
tree56f6cc104312c085a985ad2ea3a107fbe2d5e61d /gdb/main.c
parent8714ff355d87dbde98f8a102ec8cf7edf9f91628 (diff)
downloadgdb-d566d62a5a05727a3d22397efcbd7c8d412f071e.zip
gdb-d566d62a5a05727a3d22397efcbd7c8d412f071e.tar.gz
gdb-d566d62a5a05727a3d22397efcbd7c8d412f071e.tar.bz2
* main.c: New HAVE_SIGSETMASK #ifdefs.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 34640da..dc1966a 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -195,6 +195,15 @@ char *baud_rate;
#define STOP_SIGNAL SIGTSTP
#endif
#endif
+
+/* Some System V have job control but not sigsetmask(). */
+#if !defined (HAVE_SIGSETMASK)
+#define HAVE_SIGSETMASK !defined (USG)
+#endif
+
+#if !HAVE_SIGSETMASK
+#define sigsetmask(n)
+#endif
/* This is how `error' returns to command level. */