* 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".
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user