diff options
author | Christopher Faylor <me@cgf.cx> | 2000-07-03 20:14:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-07-03 20:14:06 +0000 |
commit | 8366e93be9f55449a38d8640caf454640e5e9105 (patch) | |
tree | 87c45ef692fb3ef106ca41bde845d6460ef60abf /winsup/cygwin/dcrt0.cc | |
parent | 4bedf498d65bb6e30ee983b6c19d63a2ced1bab7 (diff) | |
download | cygnal-8366e93be9f55449a38d8640caf454640e5e9105.tar.gz cygnal-8366e93be9f55449a38d8640caf454640e5e9105.tar.bz2 cygnal-8366e93be9f55449a38d8640caf454640e5e9105.zip |
* exceptions.cc (stack_info::walk): Use method to find offset.
(handle_exceptions): Be more assertive in finding ebp for use under W2K.
Create a dummy stack frame for cases where program is dying and a stack dump is
being output.
(sig_handle): Fill out a GetThreadContext for use with a user-generated "core
dump".
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 80a3d26c0..8e33550e0 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -637,9 +637,6 @@ dll_crt0_1 () (void) SetErrorMode (SEM_FAILCRITICALERRORS); - /* Initialize the heap. */ - heap_init (); - /* Initialize events. */ events_init (); @@ -673,6 +670,9 @@ dll_crt0_1 () longjmp (ciresrv->jmp, ciresrv->cygpid); } + /* Initialize the heap. */ + heap_init (); + /* Initialize our process table entry. Don't use the parent info for dynamically loaded case. */ pinfo_init ((dynamically_loaded) ? NULL : info); |