[PATCH 1/3] ntdll: add a debugger around the exceptions
Peter Oberndorfer
kumbayo84 at arcor.de
Mon Feb 26 16:42:09 CST 2007
shows that the first chance handler gets a unmodified context
shows that changing the context has no effect when exception is not handled by debugger
---
#include <stdio.h> is needed for _snprintf
changes from last submission are:
runs the RtlRaiseException test with and without debugger
makes sure child process is loaded at the same address as the parent, so reading global data will work
if not, child process is terminated
terminate child process if debugger receives over 100 exceptions
the test is written, so this should not happen on wine or windows, but just to be sure...
does not use NtOpenThread, but the handle returned by CreateProcess
dlls/ntdll/tests/exception.c | 175 +++++++++++++++++++++++++++++++++++++-----
1 files changed, 154 insertions(+), 21 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9bc4f32835a766f0ded6335d61132e2df8964f1b.diff
Type: text/x-patch
Size: 10491 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070226/9c3bd48a/9bc4f32835a766f0ded6335d61132e2df8964f1b-0001.bin
More information about the wine-patches
mailing list