summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-29 02:06:49 +0000
committerChristopher Faylor <me@cgf.cx>2000-08-29 02:06:49 +0000
commitd824bcf985a8a5fd96169135fd13a37729af4b16 (patch)
tree9e9cb02a7c42cf39bcd4daef1c418fb5da82bbc6 /winsup/cygwin/exceptions.cc
parent1b38471e5ed5a618f316be3ada5c30ccc17f1e51 (diff)
downloadcygnal-d824bcf985a8a5fd96169135fd13a37729af4b16.tar.gz
cygnal-d824bcf985a8a5fd96169135fd13a37729af4b16.tar.bz2
cygnal-d824bcf985a8a5fd96169135fd13a37729af4b16.zip
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 18af64d67..8b208b973 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -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