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

This commit is contained in:
Alexandre Julliard 2011-06-21 10:39:06 +02:00
parent 4c0c0d3aeb
commit 71ae477493
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{