aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent8714ff355d87dbde98f8a102ec8cf7edf9f91628 (diff)
downloadgdb-d566d62a5a05727a3d22397efcbd7c8d412f071e.zip
gdb-d566d62a5a05727a3d22397efcbd7c8d412f071e.tar.gz
gdb-d566d62a5a05727a3d22397efcbd7c8d412f071e.tar.bz2
* main.c: New HAVE_SIGSETMASK #ifdefs.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/main.c9
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ea43bd0..ae47ef7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
Fri Apr 19 09:36:50 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
+ * main.c: New HAVE_SIGSETMASK #ifdefs.
+
+ * coffread.c (read_coff_symtab): Check for "LF%" with all the
+ other L*% things.
+
+ * coffread.c (SDB_TYPE): New macro.
+ various: Use it instead of checking against T_NULL.
+
* Makefile.dist (cplus-dem.o): Hack in an #include "param.h"
before we compile it.
defs.h: Protect against multiple inclusion.
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. */