Eric Pouech : ntdll: On x86_64 systems (as on i386 ones), hw breakpoints must generate a EXCEPTION_SINGLE_STEP exception.
Alexandre Julliard
julliard at winehq.org
Wed Apr 7 11:56:08 CDT 2010
Module: wine
Branch: master
Commit: 2bebb68a0b0a520a3152e6909ab2d09c98b10e1a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2bebb68a0b0a520a3152e6909ab2d09c98b10e1a
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Tue Apr 6 22:28:37 2010 +0200
ntdll: On x86_64 systems (as on i386 ones), hw breakpoints must generate a EXCEPTION_SINGLE_STEP exception.
---
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-cvs
mailing list