From d566d62a5a05727a3d22397efcbd7c8d412f071e Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 19 Apr 1991 21:49:27 +0000 Subject: [PATCH] * main.c: New HAVE_SIGSETMASK #ifdefs. --- gdb/ChangeLog | 8 ++++++++ gdb/main.c | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea43bd077f..ae47ef7a7a 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 34640da84f..dc1966a80b 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. */