Re: [PATCH] Display configuration details in --help

Doug Evans
2013-04-12T17:17:47Z

Eli Zaretskii writes:
> > From: Tom Tromey <tromey@redhat.com>
> > Cc: Doug Evans <dje@google.com>, Eli Zaretskii <eliz@gnu.org>,
> > Joel Brobecker <brobecker@adacore.com>,
> > gdb-patches <gdb-patches@sourceware.org>
> > Date: Wed, 10 Apr 2013 13:16:39 -0600
> >
> > Pedro> But we shouldn't stale Eli's patch for this.
> >
> > Yes, I agree.
>
> Thanks, committed.
>
> I will take a shot on regrouping the --help text later.

Hi. It helps my browsing of ChangeLog entries if they follow
the convention that related patches are not separated by a blank line.
Plus I added an entry for NEWS.

Committed.

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.15404
diff -u -p -r1.15404 ChangeLog
--- ChangeLog 12 Apr 2013 16:04:07 -0000 1.15404
+++ ChangeLog 12 Apr 2013 17:11:23 -0000
@@ -91,13 +91,12 @@

2013-04-12 Eli Zaretskii <eliz@gnu.org>

+ * NEWS: Mention "show configuration", --configuration.
* top.c (print_gdb_configuration): New function, displays the
details about GDB configure-time parameters.
(print_gdb_version): Mention "show configuration".
-
* cli/cli-cmds.c (show_configuration): New function.
(_initialize_cli_cmds): Add the "show configuration" command.
-
* main.c (captured_main) <print_configuration>: New static var.
<long_options>: Use it.
If --configuration was given, call print_gdb_configuration.