diff options
author | Christopher Faylor <me@cgf.cx> | 2001-04-30 07:09:19 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-04-30 07:09:19 +0400 |
commit | 8abeff1ead5f3824c70111bc0ff74ff835dafa55 (patch) | |
tree | b665aeef453c45fd282493eb4a8368270f6f5246 /winsup/cygwin/winsup.h | |
parent | 2b5803d4b72c9b9bbd13a0ac62c732c94632b094 (diff) |
* exceptions.cc (INIT_EXCEPTION_HANDLER): Eliminate.
(init_exceptions): Just use init_exception_handler.
(open_stackdumpfile): New function.
(stack_info::first_time): Eliminate.
(stack_info::init): Set up fields to avoid "first_time" consideration.
(stack_info::walk): Remove "first_time" consideration.
(stackdump): Change arguments to accept initial frame pointer and open stack
file flag.
(stack): Eliminate.
(cygwin_stackdump): Use stackdump() rather than stack().
(try_to_debug): Remove all synchronization logic. Just keep looping in
exception handler until debugger notices us. Return 1 if successfully started
debugger.
(handle_exceptions): Just return if we know that we're debugging. Reorganize
to avoid creating a stackdump file if we are starting a debugger. Return from
exception handler if debugger started successfully.
(sig_handle): Create a stackdump only if debugger wasn't started.
* winsup.h (try_to_debug): Add an argument.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 85fda8045..663e999ec 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -184,7 +184,7 @@ extern HANDLE netapi32_handle; /* debug_on_trap support. see exceptions.cc:try_to_debug() */ extern "C" void error_start_init (const char*); -extern "C" int try_to_debug (); +extern "C" int try_to_debug (bool waitloop = 1); extern int cygwin_finished_initializing; |