From 8569d6e13ceb02d98ab9de7d786ee68dccce72f3 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Sat, 22 May 2021 17:00:11 +0200 Subject: [PATCH] Fix option type comments for CMDARG_EARLYINIT_FILE and CMDARG_EARLYINIT_COMMAND. The comments in the enum cmdarg_kind were using -sx and -sex instead of -eix and -eiex. (Note that gdb --help does not speak about these options). (pushed as obvious) --- gdb/ChangeLog | 5 +++++ gdb/main.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f15bd050a17..6e09089d179 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-05-22 Philippe Waroquiers + + * main.c (enum cmdarg_kind): Fix option type comments for + CMDARG_EARLYINIT_FILE and CMDARG_EARLYINIT_COMMAND. + 2021-05-21 Tom de Vries PR testsuite/25047 diff --git a/gdb/main.c b/gdb/main.c index d92aa02d831..5761ce2bdbe 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -574,14 +574,14 @@ enum cmdarg_kind /* Option type -ix. */ CMDARG_INIT_FILE, - + /* Option type -iex. */ CMDARG_INIT_COMMAND, - /* Option type -sx. */ + /* Option type -eix. */ CMDARG_EARLYINIT_FILE, - /* Option type -sex. */ + /* Option type -eiex. */ CMDARG_EARLYINIT_COMMAND }; -- 2.30.2