From: Jim Kingdon Date: Fri, 19 Apr 1991 21:49:27 +0000 (+0000) Subject: * main.c: New HAVE_SIGSETMASK #ifdefs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d566d62a5a05727a3d22397efcbd7c8d412f071e;p=binutils-gdb.git * main.c: New HAVE_SIGSETMASK #ifdefs. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea43bd077f3..ae47ef7a7a1 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 34640da84f6..dc1966a80b9 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. */