index
:
xavi/gdbstub
master
Unnamed repository; edit this file 'description' to name the repository.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
gdbstub.h
5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdbstub.h b/gdbstub.h
index a3159cc..53cf50b 100644
--- a/
gdbstub.h
+++ b/
gdbstub.h
@@ -59,9 +59,8 @@
} \
}
#else
-#define ASSERT(x) { \
- while(1); \
-}
+#define ASSERT(x) \
+ do {} while (0)
#endif
#endif