Commit 49426923 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: let the BREAK_HERE macros generate some code in any case



This looks a bit better during manual stepping as the breakpoint
doesn't move.

Change-Id: Ia2a5bba09bca21b9d27d39fe1a5755491209e0a1
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e95bf19e
......@@ -194,7 +194,7 @@ void dummyStatement(...) {}
# define BREAK_HERE asm("int $3; mov %eax, %eax")
# endif
#else
# define BREAK_HERE /**/
# define BREAK_HERE dummyStatement()
#endif
#if USE_UNINITIALIZED_AUTOBREAK
......@@ -204,7 +204,7 @@ void dummyStatement(...) {}
# define BREAK_UNINITIALIZED_HERE asm("int $3; mov %eax, %eax")
# endif
#else
# define BREAK_UNINITIALIZED_HERE /**/
# define BREAK_UNINITIALIZED_HERE dummyStatement()
#endif
......
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