diff options
author | Christopher Faylor <me@cgf.cx> | 2001-04-27 18:50:59 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-04-27 18:50:59 +0000 |
commit | cba63823f808a747ad762d3a8d5a4d8ef6890e54 (patch) | |
tree | 9f7136cef4a65dba47cb4e550daf300e8fbeda50 /winsup/cygwin/sigproc.cc | |
parent | 9572ecf9798a493965d173398d9db923c154a4c3 (diff) | |
download | cygnal-cba63823f808a747ad762d3a8d5a4d8ef6890e54.tar.gz cygnal-cba63823f808a747ad762d3a8d5a4d8ef6890e54.tar.bz2 cygnal-cba63823f808a747ad762d3a8d5a4d8ef6890e54.zip |
* thread.cc (thread_init_wrapper): Use _REENT_INIT to initialize the reent
structure of newlib.
* sigproc.h (sig_send): Add exception parameter to sig_send.
* sigproc.cc (sig_send): Ditto. Use it when setting frame info.
* exceptions.cc (handle_exceptions): Use exception flag when calling sig_send.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index b1140aaab..c7b0a491f 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -631,7 +631,7 @@ sigproc_terminate (void) * completed before returning. */ int __stdcall -sig_send (_pinfo *p, int sig, DWORD ebp) +sig_send (_pinfo *p, int sig, DWORD ebp, bool exception) { int rc = 1; DWORD tid = GetCurrentThreadId (); @@ -680,7 +680,7 @@ sig_send (_pinfo *p, int sig, DWORD ebp) { thiscatch = sigcatch_main; thiscomplete = sigcomplete_main; - thisframe.set (mainthread, ebp, 1); + thisframe.set (mainthread, ebp, exception); } } else if (!(thiscatch = getsem (p, "sigcatch", 0, 0))) |