Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-27 22:50:59 +0400
committerChristopher Faylor <me@cgf.cx>2001-04-27 22:50:59 +0400
commitcba63823f808a747ad762d3a8d5a4d8ef6890e54 (patch)
tree9f7136cef4a65dba47cb4e550daf300e8fbeda50 /winsup/cygwin/sigproc.cc
parent9572ecf9798a493965d173398d9db923c154a4c3 (diff)
* 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.cc4
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)))