mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
kernel32: Avoid using a breakpoint instruction in DebugBreak().
This commit is contained in:
parent
4c0c0d3aeb
commit
71ae477493
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ void WINAPI OutputDebugStringW( LPCWSTR str )
|
||||||
* can take some action.
|
* can take some action.
|
||||||
*/
|
*/
|
||||||
#if defined(__i386__) || defined(__x86_64__)
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
__ASM_STDCALL_FUNC( DebugBreak, 0, "int $3; ret" )
|
__ASM_STDCALL_FUNC( DebugBreak, 0, "jmp " __ASM_NAME("DbgBreakPoint") )
|
||||||
#else
|
#else
|
||||||
void WINAPI DebugBreak(void)
|
void WINAPI DebugBreak(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue