aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils/strace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r--winsup/utils/strace.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index 6f901e1..2806721 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))