summaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTC Wan2010-12-14 12:27:41 +0800
committerTC Wan2010-12-14 12:27:41 +0800
commitf87b7a4e705f09d86f2132b02b38bd7845b40319 (patch)
tree4de7b7e6f73022c0bbd02ffd49b625ee67276b28 /Debugger/debug_stub.h
parent6707b07963315e3afad721c6f0fe30f0ba2f19bc (diff)
fix compile errors
Diffstat (limited to 'Debugger/debug_stub.h')
-rw-r--r--Debugger/debug_stub.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h
index 2aa6669..dd2f433 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -158,12 +158,14 @@ FUNCDEF void dbg__bkpt_handler(void);
/** dbg_breakpoint_arm.
* Equivalent to GDB breakpoint() routine for ARM code
*/
-/* FUNCDEF */ inline void dbg_breakpoint_arm(void) { asm volatile (".word BKPT32_INSTR | BKPT32_MANUAL_BKPT") }
+/* FUNCDEF void dbg_breakpoint_arm(void); */
+inline void dbg_breakpoint_arm(void) { asm volatile (".word BKPT32_INSTR | BKPT32_MANUAL_BKPT"); }
/** dbg_breakpoint_thumb.
* Equivalent to GDB breakpoint() routine for Thumb code
*/
-/* FUNCDEF */ inline void dbg_breakpoint_thumb(void) { asm volatile (".hword BKPT16_INSTR | BKPT16_MANUAL_BKPT") }
+/* FUNCDEF void dbg_breakpoint_thumb(void); */
+inline void dbg_breakpoint_thumb(void) { asm volatile (".hword BKPT16_INSTR | BKPT16_MANUAL_BKPT"); }
/*@}*/