summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTC Wan2010-12-21 10:06:00 +0800
committerTC Wan2010-12-21 10:06:00 +0800
commite08af40a59eb60ffc636c0701e5316b5ea03a005 (patch)
tree11d24e18b7b74e9c01cf0e3d3901de7d9d37f441
parente28c2746f72959eecbe649f4057b0e9aea17449e (diff)
more syntax error fun with static and extern in breakpoint prototypes
Fix breakpoint prototype declarations, remove FUNCDEF (extern) declaration to enable static inline generation.
-rw-r--r--Debugger/debug_stub.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h
index 2bf27fa..c3a71c4 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -168,7 +168,7 @@ FUNCDEF void dbg__bkpt_handler(void);
/** dbg_breakpoint_arm.
* Equivalent to GDB breakpoint() routine for ARM code
*/
-FUNCDEF static void dbg_breakpoint_arm(void);
+/* FUNCDEF void dbg_breakpoint_arm(void); */
static inline void dbg_breakpoint_arm(void)
{
asm volatile (".word %a0"
@@ -190,7 +190,7 @@ static inline void dbg_breakpoint_arm(void) { asm volatile (".word 0xE127FF7F" /
/** dbg_breakpoint_thumb.
* Equivalent to GDB breakpoint() routine for Thumb code
*/
-FUNCDEF static void dbg_breakpoint_thumb(void);
+/* FUNCDEF void dbg_breakpoint_thumb(void); */
static inline void dbg_breakpoint_thumb(void)
{
asm volatile (".hword %a0"