aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorMichel Jaouen <michel.jaouen@stericsson.com>2011-10-03 19:05:59 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2011-10-13 18:54:04 +0000
commit5a7cff26a502ecc5dbd027ebb9d28d95782681a8 (patch)
treee428a9a3fd6e6610b2ac953bc9da3d2919ae4436 /src/target/target.c
parent2c6d312ec9e1aec514e80b7c317ed93d72197ba2 (diff)
breakpoint : smp software breakpoint issue
Change-Id: Iefe78bad71d4fdb38ae412ab8fe2f6282836c22e Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on: http://openocd.zylin.com/14 Tested-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 6a60b4ea..e03b3989 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -3098,6 +3098,13 @@ COMMAND_HANDLER(handle_bp_command)
{
case 0:
return handle_bp_command_list(CMD_CTX);
+
+ case 2:
+ asid = 0;
+ COMMAND_PARSE_NUMBER(u32, CMD_ARGV[0], addr);
+ COMMAND_PARSE_NUMBER(u32, CMD_ARGV[1], length);
+ return handle_bp_command_set(CMD_CTX, addr, asid, length, hw);
+
case 3:
if(strcmp(CMD_ARGV[2], "hw") == 0)