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>2003-09-09 07:11:31 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-09 07:11:31 +0400
commit3ef50005c759d5dbdb5a7b31730bf836a6519ab0 (patch)
tree98ecbe813337b26be5f350ef585952df14df6455 /winsup/cygwin/sigproc.h
parent51d340e1c801b82e5e8b58b48639d46681d33f4c (diff)
* dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be
set. * exceptions.cc (sig_handle_tty_stop): Don't reset sigCONT event since it is reset automatically. * fork.cc (fork): Remove obsolete usage of PID_SPLIT_HEAP. * include/sys/cygwin.h: Ditto. * sigproc.cc (sig_send): Use sigframe init method to set frame since it checks for previous ownership of the frame. * sigproc.h (sigframe::init): Accept an "is_exception" argument.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r--winsup/cygwin/sigproc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index 360ae8bcb..35ad89019 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -75,10 +75,10 @@ public:
if (!oframe)
t.get_winapi_lock ();
}
- inline void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0))
+ inline void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0), bool is_exception = 0)
{
- if (!t.frame && t.id == GetCurrentThreadId ())
- set (t, ebp);
+ if (is_exception || (!t.frame && t.id == GetCurrentThreadId ()))
+ set (t, ebp, is_exception);
else
st = NULL;
}