Commit 71ae4774 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Avoid using a breakpoint instruction in DebugBreak().

parent 4c0c0d3a
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment