+2008-02-02 Doug Evans <dje@google.com>
+
+ * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
+
2007-02-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/sym_print_name: New test program.
set_debug_traps ();
breakpoint ();
#endif
+
+#ifdef SIG_SETMASK
+ /* Ensure all the signals aren't blocked.
+ The environment in which the testsuite is run may have blocked some
+ for whatever reason. */
+ {
+ sigset_t newset;
+ sigemptyset (&newset);
+ sigprocmask (SIG_SETMASK, &newset, NULL);
+ }
+#endif
+
signal (SIGABRT, handle_ABRT);
#ifdef SIGHUP
signal (SIGHUP, handle_HUP);