forked from qt-creator/qt-creator
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user