summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/armv7m.c2
-rw-r--r--src/target/cortex_m3.c2
-rw-r--r--src/target/target.c2
-rw-r--r--src/target/trace.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index d4f6309f..d0f58dee 100644
--- a/src/target/armv7m.c
+++ b/src/target/armv7m.c
@@ -834,7 +834,7 @@ static const struct command_registration armv7m_exec_command_handlers[] = {
const struct command_registration armv7m_command_handlers[] = {
{
.name = "dap",
- .mode = COMMAND_ANY,
+ .mode = COMMAND_EXEC,
.help = "Cortex DAP command group",
.chain = armv7m_exec_command_handlers,
},
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c
index edf9b6f0..556928f8 100644
--- a/src/target/cortex_m3.c
+++ b/src/target/cortex_m3.c
@@ -2003,7 +2003,7 @@ static const struct command_registration cortex_m3_command_handlers[] = {
},
{
.name = "cortex_m3",
- .mode = COMMAND_ANY,
+ .mode = COMMAND_EXEC,
.help = "Cortex-M3 command group",
.chain = cortex_m3_exec_command_handlers,
},
diff --git a/src/target/target.c b/src/target/target.c
index d3d1beee..73a762d4 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -4866,7 +4866,7 @@ static const struct command_registration target_exec_command_handlers[] = {
{
.name = "fast_load",
.handler = &handle_fast_load_command,
- .mode = COMMAND_ANY,
+ .mode = COMMAND_EXEC,
.help = "loads active fast load image to current target "
"- mainly for profiling purposes",
},
diff --git a/src/target/trace.c b/src/target/trace.c
index 99d6bae3..56a18a4f 100644
--- a/src/target/trace.c
+++ b/src/target/trace.c
@@ -177,7 +177,7 @@ static const struct command_registration trace_exec_command_handlers[] = {
static const struct command_registration trace_command_handlers[] = {
{
.name = "trace",
- .mode = COMMAND_ANY,
+ .mode = COMMAND_EXEC,
.help = "trace command group",
.chain = trace_exec_command_handlers,
},