diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-18 05:05:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-18 05:05:58 +0000 |
commit | 77303e2d83f810c8332f4a9b891a628d14dc7700 (patch) | |
tree | 99bce217c628aafc24afb53a590167c170fa3143 /winsup/cygwin | |
parent | 12e659efa8f172167a526f251e36571f6f976740 (diff) | |
download | cygnal-77303e2d83f810c8332f4a9b891a628d14dc7700.tar.gz cygnal-77303e2d83f810c8332f4a9b891a628d14dc7700.tar.bz2 cygnal-77303e2d83f810c8332f4a9b891a628d14dc7700.zip |
* sigproc.h (sigframe): Don't set frame info unless tid matches this thread id.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 896bf613e..33cef2ecf 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Thu May 18 01:04:02 2000 Christopher Faylor <cgf@cygnus.com> + + * sigproc.h (sigframe): Don't set frame info unless tid matches this + thread id. + Wed May 17 23:13:32 2000 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 3f713c348..2a55b12f7 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -65,7 +65,7 @@ public: sigframe () {st = NULL;} sigframe (sigthread &t, int up = 1) { - if (!t.frame || t.id == GetCurrentThreadId ()) + if (!t.frame && t.id == GetCurrentThreadId ()) set (t, up); else st = NULL; |