debugger: Make simple.pro compile with MSVC and USE_AUTOBREAK == 1

Change-Id: I1e25ede989a608d941e5f26f4470e397a895b3da
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Robert Loehning
2011-11-07 19:36:48 +01:00
committed by hjk
parent fd18d4fad0
commit c8b44dedfb

View File

@@ -174,7 +174,7 @@ void dummyStatement(...) {}
#endif
#if USE_AUTOBREAK
# if Q_CC_MSVC
# ifdef Q_CC_MSVC
# define BREAK_HERE __asm { int 3 }; __asm { mov eax, eax }
# else
# define BREAK_HERE asm("int $3; mov %eax, %eax")
@@ -184,7 +184,7 @@ void dummyStatement(...) {}
#endif
#if USE_UNINITIALIZED_AUTOBREAK
# if Q_CC_MSVC
# ifdef Q_CC_MSVC
# define BREAK_UNINITIALIZED_HERE __asm { int 3 }; __asm { mov eax, eax }
# else
# define BREAK_UNINITIALIZED_HERE asm("int $3; mov %eax, %eax")