Commit c8b44ded authored by Robert Loehning's avatar Robert Loehning Committed by hjk

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

Change-Id: I1e25ede989a608d941e5f26f4470e397a895b3da
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent fd18d4fa
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment