From f712af41f5b82315e0966d8a8b1405a649f2c63f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 30 Jun 2010 11:55:32 +0200 Subject: [PATCH] ntdll/tests: Add a test for the exception resulting from an icebp instruction. --- dlls/ntdll/tests/exception.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c index 598544e474f..701b6bba091 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; -- 2.11.4.GIT