ntdll: test that shows RtlRaiseException with EXCEPTION_BREAKPOINT
mangles Eip of context
kumbayo84 at arcor.de
Mon Feb 12 14:22:37 CST 2007
This test is supposed to show that the Eip field in the context is fixed up somewhere inside RtlRaiseException
or NtRaiseException (test for NtRaiseException not included) for (only) EXCEPTION_BREAKPOINT exception
For others context.Eip is not changed.
Since real exceptions on wine also take that path i guess it is best to implement context modifing in there.
The next patches will show what is the value of context.Eip in a Vectored exception handler
(I still have some problems with this patch)
After that i plan to wrap a debugger around the test to show that the debugger gets a unmodified context
The ultimate goal is to fix the "Handling of EXCEPTION_BREAKPOINT" problem Vitaliy Margolen reported
( http://bugs.winehq.org/show_bug.cgi?id=7063 )
Patch tested on XP/2k
dlls/ntdll/tests/exception.c | 85 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 85 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4676 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070212/f56d0a02/3e7771e012532dd76f4bb316e43b04df36bed338.bin
More information about the wine-patches