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>
This commit is contained in:
Michel Jaouen
2011-10-03 19:05:59 +02:00
committed by Spencer Oliver
parent 2c6d312ec9
commit 5a7cff26a5
2 changed files with 19 additions and 3 deletions

View File

@@ -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)