kernel32: Avoid using a breakpoint instruction in DebugBreak().
This commit is contained in:
parent
4c0c0d3aeb
commit
71ae477493
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue