From f13cb93028c41475c6652729a321acd6f149741d Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 28 Mar 2011 10:48:44 +0800 Subject: split out internal constants from debug_stub.h --- Debugger/debug_stub.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Debugger/debug_stub.S') 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 -- cgit v1.2.3