* signal.cc (_raise): New function.

* exceptions.cc (unused_sig_wrapper): Remove _raise.
* sigproc.h (class sigframe): Default frames to skip to zero or suffer from
exuberant optimization.
* fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile
to pipe fails.
This commit is contained in:
Christopher Faylor
2000-08-29 02:06:49 +00:00
parent 1b38471e5e
commit d824bcf985
5 changed files with 25 additions and 14 deletions

View File

@ -1074,18 +1074,6 @@ void unused_sig_wrapper ()
and returns to orignal caller. */
__asm__ volatile ("
.text
.globl __raise
__raise:
pushl %%ebp
movl %%esp,%%ebp
movl 8(%%ebp),%%eax
pushl %%eax
movl $_myself,%%eax
pushl %6(%%eax)
call __kill
mov %%ebp,%%esp
popl %%ebp
ret
_sigreturn:
addl $4,%%esp