+Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
+
+ * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
+ than by dividing by zero.
+
Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
do the same for SIGBUS, SIGSEGV, etc., but I suspect that even this
test might turn out to be insufficiently portable. */
+#if 0
+ /* Loses on the PA because after the signal handler executes we try to
+ re-execute the failing instruction again. Perhaps we could siglongjmp
+ out of the signal handler? */
/* The expect script looks for the word "kill"; don't delete it. */
return 5 / x; /* and we both started jumping up and down yelling kill */
+#else
+ kill (getpid (), SIGFPE);
+#endif
}
int