This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Mention --version in gdbserver's --help.
- From: Carlos O'Donell <carlos at codesourcery dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 09 Jun 2008 12:13:51 -0400
- Subject: [PATCH] Mention --version in gdbserver's --help.
The gdbserver's --help should advertise the --version option.
Tested on i686-pc-linux-gnu.
OK to checkin?
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716
2008-06-09 Carlos O'Donell <carlos@codesourcery.com>
* server.c (gdbserver_usage): Mention --version.
Index: gdb/gdbserver/server.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/server.c,v
retrieving revision 1.73
diff -u -p -r1.73 server.c
--- gdb/gdbserver/server.c 5 Jun 2008 22:36:57 -0000 1.73
+++ gdb/gdbserver/server.c 9 Jun 2008 16:11:14 -0000
@@ -1197,6 +1197,7 @@ gdbserver_usage (FILE *stream)
"\n"
"Options:\n"
" --debug\t\tEnable debugging output.\n"
+ " --version\t\tDisplay version information and exit.\n"
" --wrapper WRAPPER --\tRun WRAPPER to start new programs.\n");
if (REPORT_BUGS_TO[0] && stream == stdout)
fprintf (stream, "Report bugs to \"%s\".\n", REPORT_BUGS_TO);