* 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:
Christopher Faylor
2001-04-27 18:50:59 +00:00
parent 9572ecf979
commit cba63823f8
5 changed files with 18 additions and 11 deletions

View File

@ -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__ */