aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-25 12:44:52 +0800
committerTat-Chee Wan (USM)2011-03-25 12:44:52 +0800
commit41d30e96debfa7fb4a787ec6b298b8d3e6b76045 (patch)
tree1b1918d3820d5b7dc811631117208da92a58d62d /Debugger/debug_stub.h
parent61647c1986a16665329ea185907b4acc76c2eb74 (diff)
separated breakpoint type from debugger state
Diffstat (limited to 'Debugger/debug_stub.h')
-rw-r--r--Debugger/debug_stub.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h
index ae82028..a69efd3 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -232,12 +232,21 @@ ENUM_BEGIN
ENUM_VALASSIGN(DBG_RESET, 0) /**< Initial State. */
ENUM_VAL(DBG_INIT) /**< Debugger Initialized. */
ENUM_VAL(DBG_CONFIGURED) /**< Debugger has been configured by GDB Server */
-ENUM_VAL(DBG_MANUAL_BKPT_ARM) /**< Manual ARM Breakpoint. */
-ENUM_VAL(DBG_NORMAL_BKPT_ARM) /**< Normal ARM Breakpoint (Single Step, Normal). */
-ENUM_VAL(DBG_MANUAL_BKPT_THUMB) /**< Manual Thumb Breakpoint. */
-ENUM_VAL(DBG_NORMAL_BKPT_THUMB) /**< Normal Thumb Breakpoint (Single Step, Normal). */
ENUM_END(dbg_state_t)
+/** Breakpoint Type Enums
+ *
+ * Breakpoint Type.
+ * The enums must be consecutive, starting from 0
+ */
+ENUM_BEGIN
+ENUM_VALASSIGN(DBG_AUTO_BKPT,0) /**< Auto Thumb Breakpoint (Instruction resume after breakpoint). */
+ENUM_VAL(DBG_MANUAL_BKPT_ARM) /**< Manual ARM Breakpoint. */
+ENUM_VAL(DBG_NORMAL_BKPT_ARM) /**< Normal ARM Breakpoint (Single Step, Normal). */
+ENUM_VAL(DBG_MANUAL_BKPT_THUMB) /**< Manual Thumb Breakpoint. */
+ENUM_VAL(DBG_NORMAL_BKPT_THUMB) /**< Normal Thumb Breakpoint (Single Step, Normal). */
+ENUM_END(bkpt_type_t)
+
/** Debugger Message Error Enums
*
* Debugger Error Message Enums.
@@ -257,7 +266,7 @@ ENUM_END(dbg_msg_errno)
/** Register Enums
*
* Register Enums.
- * The enums must be consecutive, starting from -1
+ * Refer to eCOS's arm_stub.h for enum values
*/
ENUM_BEGIN
ENUM_VALASSIGN(REG_R0, 0) /**< User Reg R0 */