[PATCH 3/5] [NtDll]: on x86_64 systems (as on i386 ones), hw breakpoints must generate a EXCEPTION_SINGLE_STEP exception
Eric Pouech
eric.pouech at orange.fr
Tue Apr 6 15:28:37 CDT 2010
A+
---
dlls/ntdll/signal_x86_64.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index 45cdb32..59d1d6c 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -2096,6 +2096,7 @@ static void trap_handler( int signal, siginfo_t *siginfo, void *sigcontext )
switch (siginfo->si_code)
{
case TRAP_TRACE: /* Single-step exception */
+ case 4 /* TRAP_HWBKPT */: /* Hardware breakpoint exception */
rec->ExceptionCode = EXCEPTION_SINGLE_STEP;
break;
case TRAP_BRKPT: /* Breakpoint exception */
More information about the wine-patches
mailing list