kernel32/tests: Skip some debugger tests on 64-bit

Greg Geldorp ggeldorp at vmware.com
Thu Dec 30 09:31:16 CST 2010


I get very different results for the kernel32:debugger tests depending on
which compiler I use. With VS2008, the test runs fine. With mingw64
4.4.1-1a (used by the TestBot build VM), the child process that's supposed
to crash keeps running, re-executing the instruction that causes the
exception (an assignment through a NULL pointer) again and again. With
mingw64 4.4.0 (used by Alexandre to build winetest.exe) the child process
terminates, but doesn't launch the debugger.

One other observation is that the function table in mingw64-generated
executables seems to be borked (or at least incompatible with what the
Microsoft tools expect). When running "dumpbin /unwindinfo" on
mingw64-generated executables, no unwind info is displayed. Since the
function table/unwind info is closely related to exception handling on
x64, I'm blaming the test failures on mingw64.

---
 dlls/kernel32/tests/debugger.c |   39
+++++++++++++++++++++++++++++++++++++--
 1 files changed, 37 insertions(+), 2 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-tests-Skip-some-debugger-tests-on-64-bit.patch
Type: text/x-patch
Size: 2962 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101230/e16af9f9/attachment.bin>


More information about the wine-patches mailing list