[binutils-gdb] Fix option type comments for CMDARG_EARLYINIT_FILE and CMDARG_EARLYINIT_COMMAND.

Philippe Waroquiers philippe@sourceware.org
Sat May 22 15:18:18 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8569d6e13ceb02d98ab9de7d786ee68dccce72f3

commit 8569d6e13ceb02d98ab9de7d786ee68dccce72f3
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date:   Sat May 22 17:00:11 2021 +0200

    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)

Diff:
---
 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  <philippe.waroquiers@skynet.be>
+
+	* main.c (enum cmdarg_kind): Fix option type comments for
+	CMDARG_EARLYINIT_FILE and CMDARG_EARLYINIT_COMMAND.
+
 2021-05-21  Tom de Vries  <tdevries@suse.de>
 
 	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
 };


More information about the Gdb-cvs mailing list