diff --git a/dlls/kernel32/debugger.c b/dlls/kernel32/debugger.c index 4ac0a72b6c..9122876dcc 100644 --- a/dlls/kernel32/debugger.c +++ b/dlls/kernel32/debugger.c @@ -366,7 +366,7 @@ void WINAPI OutputDebugStringW( LPCWSTR str ) * can take some action. */ #if defined(__i386__) || defined(__x86_64__) -__ASM_STDCALL_FUNC( DebugBreak, 0, "int $3; ret" ) +__ASM_STDCALL_FUNC( DebugBreak, 0, "jmp " __ASM_NAME("DbgBreakPoint") ) #else void WINAPI DebugBreak(void) {