summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r--winsup/cygwin/sigproc.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index c8634022a..915e54ad7 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -49,15 +49,11 @@ private:
sigthread *st;
public:
- void set (sigthread &t, int up = 1, DWORD ebp = 0)
+ void set (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0))
{
t.lock->acquire ();
st = &t;
- if (ebp)
- t.frame = ebp;
- else
- t.frame = (DWORD) (up ? __builtin_frame_address (1) :
- __builtin_frame_address (0));
+ t.frame = ebp;
t.lock->release ();
}