From: Daniel Jacobowitz <drow@false.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: pedro_alves@portugalmail.pt, gdb-patches@sourceware.org
Subject: Re: [rfc] Multiple process support in gdbserver
Date: Wed, 30 Jan 2008 13:18:00 -0000 [thread overview]
Message-ID: <20080130131446.GB13702@caradoc.them.org> (raw)
In-Reply-To: <uejc0j65x.fsf@gnu.org>
On Wed, Jan 30, 2008 at 06:20:26AM +0200, Eli Zaretskii wrote:
> > Date: Tue, 29 Jan 2008 19:51:47 -0500
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: gdb-patches@sourceware.org
> >
> > +Then you can connect using @code{target extended-remote} and start
> > +the program you want to debug.
>
> The command you suggest to use (target extended-remote) is something
> the user should type on her keyboard, so it should be in @kbd, not
> @code. (In general, @code is wrong for more than one word at a time.)
Thanks for the explanation; hopefully I can remember that. I checked
this in to fix it.
--
Daniel Jacobowitz
CodeSourcery
2008-01-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for
commands.
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.464
diff -u -p -r1.464 gdb.texinfo
--- gdb.texinfo 30 Jan 2008 13:11:15 -0000 1.464
+++ gdb.texinfo 30 Jan 2008 13:12:59 -0000
@@ -13044,7 +13044,7 @@ When you connect to @code{gdbserver} usi
program exits, or you detach from it, @value{GDBN} closes the connection
and @code{gdbserver} exits.
-If you connect using @code{target extended-remote}, @code{gdbserver}
+If you connect using @kbd{target extended-remote}, @code{gdbserver}
enters multi-process mode. When the debugged program exits, or you
detach from it, @value{GDBN} stays connected to @code{gdbserver} even
though no program is running. The @code{run} and @code{attach}
@@ -13056,7 +13056,7 @@ redirection (@pxref{Arguments}).
To start @code{gdbserver} without supplying an initial command to run
or process ID to attach, use the @option{--multi} command line option.
-Then you can connect using @code{target extended-remote} and start
+Then you can connect using @kbd{target extended-remote} and start
the program you want to debug.
@code{gdbserver} does not automatically exit in multi-process mode.
next prev parent reply other threads:[~2008-01-30 13:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-08 10:54 Daniel Jacobowitz
2007-12-08 15:29 ` Eli Zaretskii
2007-12-08 18:14 ` Daniel Jacobowitz
2007-12-10 15:34 ` Daniel Jacobowitz
2008-01-24 1:50 ` Pedro Alves
2008-01-30 0:55 ` Daniel Jacobowitz
2008-01-30 5:55 ` Eli Zaretskii
2008-01-30 13:18 ` Daniel Jacobowitz [this message]
2008-02-14 21:09 ` --multi support for Windows targets (Re: [rfc] Multiple process support in gdbserver) Pedro Alves
2008-02-14 21:15 ` Daniel Jacobowitz
2008-02-14 22:43 ` Pedro Alves
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=20080130131446.GB13702@caradoc.them.org \
--to=drow@false.org \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=pedro_alves@portugalmail.pt \
/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