rtems-debugger-cmd.c: Address missing field initializer warnings (shell)

Address missing field initializer warnings.

These were rtems_shell_cmd_t or rtems_shell_alias_t declarations
with initialization.  The initialization was changed to using named
fields.

Updates #5325.
This commit is contained in:
Joel Sherrill
2025-10-14 13:07:12 -05:00
parent 87f5aa145b
commit 100d62d1ec

View File

@@ -215,13 +215,13 @@ static int rtems_shell_main_debugger(int argc, char *argv[])
} }
rtems_shell_cmd_t rtems_shell_DEBUGGER_Command = { rtems_shell_cmd_t rtems_shell_DEBUGGER_Command = {
"debugger", /* name */ .name = "debugger",
"debugger [start/stop] [options ...]", /* usage */ .usage = "debugger [start/stop] [options ...]",
"misc", /* topic */ .topic = "misc",
rtems_shell_main_debugger, /* command */ .command = rtems_shell_main_debugger,
NULL, /* alias */ .alias = NULL,
NULL, /* next */ .next = NULL,
0755, .mode = 0755,
0, .uid = 0,
0 .gid = 0
}; };