cmd: add missing usage vars
we should have caught them all - hopefully. Change-Id: I35435317fccaf5ad0216244d69f76db6857bb582 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/381 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
This commit is contained in:
@@ -1355,6 +1355,7 @@ static const struct command_registration arm11_any_command_handlers[] = {
|
||||
.name = "memwrite",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "memwrite command group",
|
||||
.usage = "",
|
||||
.chain = arm11_mw_command_handlers,
|
||||
},
|
||||
{
|
||||
@@ -1386,6 +1387,7 @@ static const struct command_registration arm11_command_handlers[] = {
|
||||
.name = "arm11",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "ARM11 command group",
|
||||
.usage = "",
|
||||
.chain = arm11_any_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -570,6 +570,7 @@ static const struct command_registration arm720t_command_handlers[] = {
|
||||
.name = "arm720t",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm720t command group",
|
||||
.usage = "",
|
||||
.chain = arm720t_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -2999,6 +2999,7 @@ const struct command_registration arm7_9_command_handlers[] = {
|
||||
.name = "arm7_9",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm7/9 specific commands",
|
||||
.usage = "",
|
||||
.chain = arm7_9_any_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -1724,6 +1724,7 @@ static const struct command_registration arm920t_exec_command_handlers[] = {
|
||||
.name = "cache_info",
|
||||
.handler = arm920t_handle_cache_info_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "display information about target caches",
|
||||
},
|
||||
{
|
||||
@@ -1750,6 +1751,7 @@ const struct command_registration arm920t_command_handlers[] = {
|
||||
.name = "arm920t",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm920t command group",
|
||||
.usage = "",
|
||||
.chain = arm920t_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -801,6 +801,7 @@ static const struct command_registration arm926ejs_exec_command_handlers[] = {
|
||||
.name = "cache_info",
|
||||
.handler = arm926ejs_handle_cache_info_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "display information about target caches",
|
||||
|
||||
},
|
||||
@@ -814,6 +815,7 @@ const struct command_registration arm926ejs_command_handlers[] = {
|
||||
.name = "arm926ejs",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm926ejs command group",
|
||||
.usage = "",
|
||||
.chain = arm926ejs_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -657,6 +657,7 @@ const struct command_registration arm946e_command_handlers[] = {
|
||||
.name = "arm946e",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm946e command group",
|
||||
.usage = "",
|
||||
.chain = arm946e_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -247,6 +247,7 @@ const struct command_registration arm966e_command_handlers[] = {
|
||||
.name = "arm966e",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm966e command group",
|
||||
.usage = "",
|
||||
.chain = arm966e_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -927,6 +927,7 @@ const struct command_registration arm9tdmi_command_handlers[] = {
|
||||
.name = "arm9",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "arm9 command group",
|
||||
.usage = "",
|
||||
.chain = arm9tdmi_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -1975,6 +1975,7 @@ const struct command_registration dap_command_handlers[] = {
|
||||
.name = "dap",
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "DAP command group",
|
||||
.usage = "",
|
||||
.chain = dap_commands,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -1003,6 +1003,7 @@ static const struct command_registration arm_exec_command_handlers[] = {
|
||||
.handler = handle_armv4_5_reg_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "display ARM core registers",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name = "core_state",
|
||||
@@ -1046,6 +1047,7 @@ const struct command_registration arm_command_handlers[] = {
|
||||
.name = "arm",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "ARM command group",
|
||||
.usage = "",
|
||||
.chain = arm_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -785,6 +785,7 @@ const struct command_registration l2x_cache_command_handlers[] = {
|
||||
.name = "cache_config",
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "cache configuation for a target",
|
||||
.usage = "",
|
||||
.chain = l2_cache_commands,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -2637,29 +2637,34 @@ static const struct command_registration cortex_a8_exec_command_handlers[] = {
|
||||
.handler = cortex_a8_handle_cache_info_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "display information about target caches",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name = "dbginit",
|
||||
.handler = cortex_a8_handle_dbginit_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Initialize core debug",
|
||||
.usage = "",
|
||||
},
|
||||
{ .name ="smp_off",
|
||||
.handler = cortex_a8_handle_smp_off_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Stop smp handling",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name ="smp_on",
|
||||
.handler = cortex_a8_handle_smp_on_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Restart smp handling",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name ="smp_gdb",
|
||||
.handler = cortex_a8_handle_smp_gdb_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "display/fix current core played to gdb",
|
||||
.usage = "",
|
||||
},
|
||||
|
||||
|
||||
@@ -2676,6 +2681,7 @@ static const struct command_registration cortex_a8_command_handlers[] = {
|
||||
.name = "cortex_a8",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "Cortex-A8 command group",
|
||||
.usage = "",
|
||||
.chain = cortex_a8_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -2299,6 +2299,7 @@ static const struct command_registration cortex_m3_command_handlers[] = {
|
||||
.name = "cortex_m3",
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Cortex-M3 command group",
|
||||
.usage = "",
|
||||
.chain = cortex_m3_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -2139,6 +2139,7 @@ const struct command_registration etm_command_handlers[] = {
|
||||
.name = "etm",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "Emebdded Trace Macrocell command group",
|
||||
.usage = "",
|
||||
.chain = etm_config_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
@@ -2159,24 +2160,28 @@ static const struct command_registration etm_exec_command_handlers[] = {
|
||||
.name = "info",
|
||||
.handler = handle_etm_info_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "display info about the current target's ETM",
|
||||
},
|
||||
{
|
||||
.name = "status",
|
||||
.handler = handle_etm_status_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "display current target's ETM status",
|
||||
},
|
||||
{
|
||||
.name = "start",
|
||||
.handler = handle_etm_start_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "start ETM trace collection",
|
||||
},
|
||||
{
|
||||
.name = "stop",
|
||||
.handler = handle_etm_stop_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "stop ETM trace collection",
|
||||
},
|
||||
{
|
||||
@@ -2190,6 +2195,7 @@ static const struct command_registration etm_exec_command_handlers[] = {
|
||||
.name = "analyze",
|
||||
.handler = handle_etm_analyze_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "analyze collected ETM trace",
|
||||
},
|
||||
{
|
||||
@@ -2210,6 +2216,7 @@ static const struct command_registration etm_exec_command_handlers[] = {
|
||||
.name = "load",
|
||||
.handler = handle_etm_load_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "load trace data for analysis <file>",
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -859,6 +859,7 @@ const struct command_registration mips32_command_handlers[] = {
|
||||
.name = "mips32",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "mips32 command group",
|
||||
.usage = "",
|
||||
.chain = mips32_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -1205,6 +1205,7 @@ const struct command_registration mips_m4k_command_handlers[] = {
|
||||
.name = "mips_m4k",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "mips_m4k command group",
|
||||
.usage = "",
|
||||
.chain = mips_m4k_exec_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -405,12 +405,14 @@ static const struct command_registration oocd_trace_all_command_handlers[] = {
|
||||
.name = "status",
|
||||
.handler = handle_oocd_trace_status_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "display OpenOCD + trace status",
|
||||
},
|
||||
{
|
||||
.name = "resync",
|
||||
.handler = handle_oocd_trace_resync_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "",
|
||||
.help = "resync OpenOCD + trace capture clock",
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
@@ -420,6 +422,7 @@ static const struct command_registration oocd_trace_command_handlers[] = {
|
||||
.name = "oocd_trace",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "OpenOCD trace capture driver command group",
|
||||
.usage = "",
|
||||
.chain = oocd_trace_all_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
@@ -3878,6 +3878,7 @@ static const struct command_registration xscale_command_handlers[] = {
|
||||
.name = "xscale",
|
||||
.mode = COMMAND_ANY,
|
||||
.help = "xscale command group",
|
||||
.usage = "",
|
||||
.chain = xscale_any_command_handlers,
|
||||
},
|
||||
COMMAND_REGISTRATION_DONE
|
||||
|
||||
Reference in New Issue
Block a user