aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_m.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-07-17 10:59:00 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2013-07-26 14:17:04 +0000
commit4fd7170e53c7ffcf06552ab62d869951f6fd9b46 (patch)
treeca4d363fa780e4d8faba89d4fe6d3882194abd5f /src/target/cortex_m.c
parentc658229f92612a7c3862b2e9ba1a8d6496a8be8a (diff)
downloadriscv-openocd-4fd7170e53c7ffcf06552ab62d869951f6fd9b46.zip
riscv-openocd-4fd7170e53c7ffcf06552ab62d869951f6fd9b46.tar.gz
riscv-openocd-4fd7170e53c7ffcf06552ab62d869951f6fd9b46.tar.bz2
cortex_m: change cmd output to use cortex_m rather than cortex_m3
Change-Id: I33834910c44d22169bcf684e9697a8db49d0b396 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1513 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/target/cortex_m.c')
-rw-r--r--src/target/cortex_m.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index a7cf18f..1d08c95 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -2192,7 +2192,7 @@ COMMAND_HANDLER(handle_cortex_m3_mask_interrupts_command)
}
n = Jim_Nvp_value2name_simple(nvp_maskisr_modes, cortex_m3->isrmasking_mode);
- command_print(CMD_CTX, "cortex_m3 interrupt mask %s", n->name);
+ command_print(CMD_CTX, "cortex_m interrupt mask %s", n->name);
return ERROR_OK;
}
@@ -2229,7 +2229,7 @@ COMMAND_HANDLER(handle_cortex_m3_reset_config_command)
break;
}
- command_print(CMD_CTX, "cortex_m3 reset_config %s", reset_config);
+ command_print(CMD_CTX, "cortex_m reset_config %s", reset_config);
return ERROR_OK;
}
@@ -2239,7 +2239,7 @@ static const struct command_registration cortex_m3_exec_command_handlers[] = {
.name = "maskisr",
.handler = handle_cortex_m3_mask_interrupts_command,
.mode = COMMAND_EXEC,
- .help = "mask cortex_m3 interrupts",
+ .help = "mask cortex_m interrupts",
.usage = "['auto'|'on'|'off']",
},
{