diff options
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 6 |
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; } |