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 = {
"debugger", /* name */
"debugger [start/stop] [options ...]", /* usage */
"misc", /* topic */
rtems_shell_main_debugger, /* command */
NULL, /* alias */
NULL, /* next */
0755,
0,
0
.name = "debugger",
.usage = "debugger [start/stop] [options ...]",
.topic = "misc",
.command = rtems_shell_main_debugger,
.alias = NULL,
.next = NULL,
.mode = 0755,
.uid = 0,
.gid = 0
};