Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@codesourcery.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [PATCH] Mention --version in gdbserver's --help.
Date: Mon, 09 Jun 2008 18:34:00 -0000	[thread overview]
Message-ID: <484D56BF.3060105@codesourcery.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

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

[-- Attachment #2: 2008-06-09-gdbserver.diff --]
[-- Type: text/x-diff, Size: 789 bytes --]

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);

             reply	other threads:[~2008-06-09 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 18:34 Carlos O'Donell [this message]
2008-06-20 16:03 Carlos O'Donell
2008-06-20 23:48 ` Stan Shebs
2008-06-21  5:10   ` Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484D56BF.3060105@codesourcery.com \
    --to=carlos@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox