diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-12 04:38:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-12 04:38:29 +0000 |
commit | ec300c997904f1db79cd5ca49f798ae08a3eedba (patch) | |
tree | f0573247cacbf2efd21dd594bf3838c036035d4c /winsup/cygwin/sigproc.h | |
parent | 8251f53ddda33e780b8043665e638a558e0ef719 (diff) | |
download | newlib-ec300c997904f1db79cd5ca49f798ae08a3eedba.zip newlib-ec300c997904f1db79cd5ca49f798ae08a3eedba.tar.gz newlib-ec300c997904f1db79cd5ca49f798ae08a3eedba.tar.bz2 |
* errno.cc (seterrno_from_win_error): Fix debugging output.
* fhandler.cc (fhandler_base::fstat): Move to inline method in fhandler.h.
(fhandler_base::set_io_handle): Ditto.
* fhandler.h (fhandler_base): Make some methods inline.
* fhandler_console.cc (fhandler_console::write_normal): Make buffer larger.
* sigproc.h (sigframe::sigframe): Actually use set ebp parameter correctly.
* spawn.cc (spawn_guts): Set dwProcessId when exec'ing. Just exit immediately
after reparenting.
* syscalls.cc: Sprinkle sigframe stuff throughout.
* wait.cc (wait4): Set signal frame here.
* dcrt0.cc (__api_fatal): Don't rely on small_printf to display errors. Always
display problems to the console, if possible.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index b852d27..aef2722 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -49,7 +49,7 @@ private: sigthread *st; public: - void set (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) + void set (sigthread &t, DWORD ebp) { t.lock->acquire (); st = &t; @@ -58,10 +58,10 @@ public: } sigframe () {st = NULL;} - sigframe (sigthread &t, int up = 0) + sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) { if (!t.frame && t.id == GetCurrentThreadId ()) - set (t, up); + set (t, ebp); else st = NULL; } |