* exceptions.cc (sig_handle): Accept a second argument indicating whether the

signal came from this process or not.
* sigproc.h: Reflect sig_handle arg change.
* signal.cc (kill_pgrp): Add sigframe info.
(abort): New function.  Eliminates newlib function of same name.
* sigproc.cc (wait_sig): Pass "signal from this process" value as arg 2.
This commit is contained in:
Christopher Faylor
2002-01-11 02:24:06 +00:00
parent bb5225c236
commit 06486d9e55
5 changed files with 43 additions and 5 deletions

View File

@ -1190,7 +1190,7 @@ wait_sig (VOID *)
/* A normal UNIX signal */
default:
sigproc_printf ("Got signal %d", sig);
int wasdispatched = sig_handle (sig);
int wasdispatched = sig_handle (sig, rc != 2);
if (sig == SIGCHLD && wasdispatched)
dispatched_sigchld = 1;
/* Need to decrement again to offset increment below since