summaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.S
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-28 10:48:44 +0800
committerTat-Chee Wan (USM)2011-03-28 10:48:44 +0800
commitf13cb93028c41475c6652729a321acd6f149741d (patch)
tree1ef20e62ed252cf92f553b2c5e482fa7c040868a /Debugger/debug_stub.S
parentccdd31be178b67aac1e814fb694ccd6da427f651 (diff)
split out internal constants from debug_stub.h
Diffstat (limited to 'Debugger/debug_stub.S')
-rw-r--r--Debugger/debug_stub.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index e7749de..915db5b 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -139,6 +139,7 @@
#define __ASSEMBLY__
#include "debug_stub.h"
+#include "debug_internals.h"
#include "debug_macros.h"
/* Macro definitions */
@@ -1272,7 +1273,7 @@ _dbg__cmd_InsertBreakpoint:
_dbg__cmd_RemoveBreakpoint:
stmfd sp!, {lr}
bl __dbg__cmdParamLen
- teq r1, #CMD_BKPT_REMOVE_PARAMLEN /* Check for correct length */
+ teq r1, #CMD_BKPT_REMOVE_MINPARAMLEN /* Check for correct length */
blo __dbg__procCmdParamError /* Unexpected input, report error */
bl _dbg__proc_brkpt_params /* R0: Breakpoint Address */
teq r0, #0