From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [doc patch] gdbserver.1: Document all the options and --multi
Date: Sat, 06 Apr 2013 15:04:00 -0000 [thread overview]
Message-ID: <20130406064724.GA483@host2.jankratochvil.net> (raw)
In-Reply-To: <83k3ogdvzg.fsf@gnu.org>
On Sat, 06 Apr 2013 08:16:51 +0200, Eli Zaretskii wrote:
> > +@table @env
> > +
> > +@item gdbserver @var{comm} @var{prog} [@var{args}@dots{}]
> > +For the @var{comm} parameter see below, then supply name of the program to
> > +debug; the remote @value{GDBN} will do everything else. Any remaining
> > +arguments will be passed to the program verbatim.
> > +
> > +@item gdbserver --attach @var{comm} @var{pid}
> > +For the @var{comm} parameter see below, then supply @var{pid} of a running
> > +program; @value{GDBN} will do everything else.
> > +
> > +@item gdbserver --multi @var{comm}
> > +For the @var{comm} parameter see below; @value{GDBN} can then instruct
> > +@command{gdbserver} which command(s) to run.
> > +
> > +@end table
> > +
> > +The @var{comm} parameter is either a device name (to use a serial line),
> > +or a TCP portnumber (string @code{:1234}), or @code{-} or @code{stdio} to use
> > +stdin/stdout of @code{gdbserver}.
>
> This is OK, but perhaps will be even better if you describe the last
> mode first. Then you can put the description of @var{comm} there, and
> in the other 2 modes say something like "In addition to @var{comm} as
> above, supply ...".
I do not think it would be good, (1) the --multi mode is IMO an unusual one,
a special case and (2) I also tried to generally keep the "gdbserver --help"
output order.
Thanks,
Jan
next prev parent reply other threads:[~2013-04-06 6:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 19:33 Jan Kratochvil
2013-04-05 20:01 ` Eli Zaretskii
2013-04-06 9:31 ` Jan Kratochvil
2013-04-06 13:56 ` Eli Zaretskii
2013-04-06 15:04 ` Jan Kratochvil [this message]
2013-04-06 15:49 ` Eli Zaretskii
2013-04-06 15:52 ` [commit] " Jan Kratochvil
2013-04-06 19:26 ` Eli Zaretskii
2013-04-06 21:45 ` Jan Kratochvil
2013-04-07 6:21 ` [commit#2] " Jan Kratochvil
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=20130406064724.GA483@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=eliz@gnu.org \
--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