* thread.cc (thread_init_wrapper): Use _REENT_INIT to initialize the reent
structure of newlib. * sigproc.h (sig_send): Add exception parameter to sig_send. * sigproc.cc (sig_send): Ditto. Use it when setting frame info. * exceptions.cc (handle_exceptions): Use exception flag when calling sig_send.
This commit is contained in:
@ -532,7 +532,7 @@ handle_exceptions (EXCEPTION_RECORD *e, void *, CONTEXT *in, void *)
|
||||
signal_exit (0x80 | sig); // Flag signal + core dump
|
||||
}
|
||||
|
||||
sig_send (NULL, sig, (DWORD) ebp); // Signal myself
|
||||
sig_send (NULL, sig, (DWORD) ebp, 1); // Signal myself
|
||||
return 0;
|
||||
}
|
||||
#endif /* __i386__ */
|
||||
|
Reference in New Issue
Block a user