Module: wine Branch: master Commit: f712af41f5b82315e0966d8a8b1405a649f2c63f URL: http://source.winehq.org/git/wine.git/?a=commit;h=f712af41f5b82315e0966d8a8b...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Jun 30 11:55:32 2010 +0200
ntdll/tests: Add a test for the exception resulting from an icebp instruction.
---
dlls/ntdll/tests/exception.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c index 598544e..701b6bb 100644 --- a/dlls/ntdll/tests/exception.c +++ b/dlls/ntdll/tests/exception.c @@ -203,6 +203,9 @@ static const struct exception { { 0x1e, 0x06, 0x31, 0xc0, 0x8e, 0xd8, 0x8e, 0xc0, 0xfa, 0x07, 0x1f, 0xc3 }, /* push %ds; push %es; xorl %eax,%eax; mov %ax,%ds; mov %ax,%es; cli; pop %es; pop %ds; ret */ 8, 1, TRUE, STATUS_PRIVILEGED_INSTRUCTION, 0 }, + + { { 0xf1, 0x90, 0xc3 }, /* icebp; nop; ret */ + 1, 1, FALSE, STATUS_SINGLE_STEP, 0 }, };
static int got_exception;