diff options
author | Christopher Faylor <me@cgf.cx> | 2003-11-28 22:13:57 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-11-28 22:13:57 +0000 |
commit | 13584f077b708083b9e1cba78ff580c7bae6130e (patch) | |
tree | 51b7e9b3c173d1e5234af8b57413814501589f07 /winsup/cygwin/exceptions.cc | |
parent | 74d893b13cb75408ec3ffe2b399787b9b78fa979 (diff) | |
download | cygnal-13584f077b708083b9e1cba78ff580c7bae6130e.tar.gz cygnal-13584f077b708083b9e1cba78ff580c7bae6130e.tar.bz2 cygnal-13584f077b708083b9e1cba78ff580c7bae6130e.zip |
* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
* exceptions.cc: Ditto.
* fhandler_termios.cc: Ditto.
* signal.cc: Ditto.
* sigproc.cc: Ditto.
* Makefile.in: Revert previous change which made a cygwin.din newer than a
version.h a warning rather than an error.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index a15e76132..059b570e5 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -547,11 +547,11 @@ handle_exceptions (EXCEPTION_RECORD *e0, void *frame, CONTEXT *in0, void *) debug_printf ("In cygwin_except_handler exc %p at %p sp %p", e.ExceptionCode, in.Eip, in.Esp); debug_printf ("In cygwin_except_handler sig = %d at %p", sig, in.Eip); - if (myself->getsig (sig).sa_mask & SIGTOMASK (sig)) - syscall_printf ("signal %d, masked %p", sig, myself->getsig (sig).sa_mask); + if (global_sigs[sig].sa_mask & SIGTOMASK (sig)) + syscall_printf ("signal %d, masked %p", sig, global_sigs[sig].sa_mask); debug_printf ("In cygwin_except_handler calling %p", - myself->getsig (sig).sa_handler); + global_sigs[sig].sa_handler); DWORD *ebp = (DWORD *)in.Esp; for (DWORD *bpend = (DWORD *) __builtin_frame_address (0); ebp > bpend; ebp--) @@ -563,9 +563,9 @@ handle_exceptions (EXCEPTION_RECORD *e0, void *frame, CONTEXT *in0, void *) if (!myself->progname[0] || GetCurrentThreadId () == sigtid - || (void *) myself->getsig (sig).sa_handler == (void *) SIG_DFL - || (void *) myself->getsig (sig).sa_handler == (void *) SIG_IGN - || (void *) myself->getsig (sig).sa_handler == (void *) SIG_ERR) + || (void *) global_sigs[sig].sa_handler == (void *) SIG_DFL + || (void *) global_sigs[sig].sa_handler == (void *) SIG_IGN + || (void *) global_sigs[sig].sa_handler == (void *) SIG_ERR) { /* Print the exception to the console */ if (1) @@ -1010,7 +1010,7 @@ sig_handle (int sig, sigset_t mask, int pid, _threadinfo *tls) sig_clear (SIGCONT); sigproc_printf ("signal %d processing", sig); - struct sigaction thissig = myself->getsig (sig); + struct sigaction thissig = global_sigs[sig]; void *handler; handler = (void *) thissig.sa_handler; @@ -1061,7 +1061,7 @@ stop: if (ISSTATE (myself, PID_STOPPED)) goto done; handler = (void *) sig_handle_tty_stop; - thissig = myself->getsig (SIGSTOP); + thissig = global_sigs[SIGSTOP]; dosig: /* Dispatch to the appropriate function. */ |