diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-15 03:43:48 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-15 03:43:48 +0000 |
commit | 5460fae73f298cd0e3a9f3881aaa70fa01ff3e2c (patch) | |
tree | c8707ad59b60d014bf7061223594f0ddf9215b67 /winsup/utils/strace.cc | |
parent | 1dc16fc74bb91136d75b656f3a4aaefa87af9f20 (diff) | |
download | cygnal-5460fae73f298cd0e3a9f3881aaa70fa01ff3e2c.tar.gz cygnal-5460fae73f298cd0e3a9f3881aaa70fa01ff3e2c.tar.bz2 cygnal-5460fae73f298cd0e3a9f3881aaa70fa01ff3e2c.zip |
* ps.cc (main): Accomodate new PID_ constant.
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r-- | winsup/utils/strace.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc index 6f901e1a8..28067214b 100644 --- a/winsup/utils/strace.cc +++ b/winsup/utils/strace.cc @@ -536,7 +536,14 @@ proc_child (unsigned mask, FILE *ofile) break; case EXCEPTION_DEBUG_EVENT: if (ev.u.Exception.ExceptionRecord.ExceptionCode != STATUS_BREAKPOINT) - status = DBG_EXCEPTION_NOT_HANDLED; + { + status = DBG_EXCEPTION_NOT_HANDLED; +#if 0 + fprintf (stderr, "exception %p at %p\n", + ev.u.Exception.ExceptionRecord.ExceptionCode, + ev.u.Exception.ExceptionRecord.ExceptionAddress); +#endif + } break; } if (!ContinueDebugEvent (ev.dwProcessId, ev.dwThreadId, status)) |