* RFA: Document 'target remote pipe'
@ 2006-03-08 15:28 Jim Blandy
2006-03-09 17:59 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Jim Blandy @ 2006-03-08 15:28 UTC (permalink / raw)
To: gdb-patches
src/gdb/doc/ChangeLog:
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
Index: src/gdb/doc/gdb.texinfo
===================================================================
--- src.orig/gdb/doc/gdb.texinfo
+++ src/gdb/doc/gdb.texinfo
@@ -12220,6 +12220,18 @@ keep in mind that the `U' stands for ``U
can silently drop packets on busy or unreliable networks, which will
cause havoc with your debugging session.
+@item target remote | @var{command}
+@cindex pipe, @code{target remote} to
+Run @var{command} in the background and communicate with it using a
+pipe. The @var{command} is a shell command, to be parsed and expanded
+by the system's command shell, @code{/bin/sh}; it should expect remote
+protocol packets on its standard input, and send replies on its
+standard output.
+
+If @var{command} closes its standard output (perhaps by exiting),
+@value{GDBN} will try to send it a @code{SIGTERM} signal. (If the
+program has already exited, this will have no effect.)
+
@end table
Once the connection has been established, you can use all the usual
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: RFA: Document 'target remote pipe'
2006-03-08 15:28 RFA: Document 'target remote pipe' Jim Blandy
@ 2006-03-09 17:59 ` Eli Zaretskii
2006-03-09 19:13 ` Jim Blandy
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2006-03-09 17:59 UTC (permalink / raw)
To: Jim Blandy; +Cc: gdb-patches
> From: Jim Blandy <jimb@red-bean.com>
> Date: Tue, 07 Mar 2006 14:28:38 -0800
>
>
> src/gdb/doc/ChangeLog:
> 2006-03-07 Jim Blandy <jimb@red-bean.com>
>
> * gdb.texinfo (Connecting): Document 'target remote pipe'.
Approved, thanks.
Would it be a good idea to add a sentence or two about when this
method is useful?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RFA: Document 'target remote pipe'
2006-03-09 17:59 ` Eli Zaretskii
@ 2006-03-09 19:13 ` Jim Blandy
2006-03-09 21:44 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Jim Blandy @ 2006-03-09 19:13 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: gdb-patches
On 3/8/06, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Jim Blandy <jimb@red-bean.com>
> > Date: Tue, 07 Mar 2006 14:28:38 -0800
> >
> >
> > src/gdb/doc/ChangeLog:
> > 2006-03-07 Jim Blandy <jimb@red-bean.com>
> >
> > * gdb.texinfo (Connecting): Document 'target remote pipe'.
>
> Approved, thanks.
>
> Would it be a good idea to add a sentence or two about when this
> method is useful?
Yes --- how about:
src/gdb/doc/ChangeLog:
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
Index: src/gdb/doc/gdb.texinfo
===================================================================
--- src.orig/gdb/doc/gdb.texinfo
+++ src/gdb/doc/gdb.texinfo
@@ -12220,6 +12220,20 @@ keep in mind that the `U' stands for ``U
can silently drop packets on busy or unreliable networks, which will
cause havoc with your debugging session.
+@item target remote | @var{command}
+@cindex pipe, @code{target remote} to
+Run @var{command} in the background and communicate with it using a
+pipe. The @var{command} is a shell command, to be parsed and expanded
+by the system's command shell, @code{/bin/sh}; it should expect remote
+protocol packets on its standard input, and send replies on its
+standard output. You could use this to run a stand-alone simulator
+that speaks the remote debugging protocol, to make net connections
+using programs like @code{ssh}, or for other similar tricks.
+
+If @var{command} closes its standard output (perhaps by exiting),
+@value{GDBN} will try to send it a @code{SIGTERM} signal. (If the
+program has already exited, this will have no effect.)
+
@end table
Once the connection has been established, you can use all the usual
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: RFA: Document 'target remote pipe'
2006-03-09 19:13 ` Jim Blandy
@ 2006-03-09 21:44 ` Eli Zaretskii
2006-03-10 1:04 ` Jim Blandy
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2006-03-09 21:44 UTC (permalink / raw)
To: Jim Blandy; +Cc: gdb-patches
> Date: Thu, 9 Mar 2006 10:14:44 -0800
> From: "Jim Blandy" <jimb@red-bean.com>
> Cc: gdb-patches@sourceware.org
>
> > Would it be a good idea to add a sentence or two about when this
> > method is useful?
>
> Yes --- how about:
>
> src/gdb/doc/ChangeLog:
> 2006-03-07 Jim Blandy <jimb@red-bean.com>
>
> * gdb.texinfo (Connecting): Document 'target remote pipe'.
Fine with me, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-09 21:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 15:28 RFA: Document 'target remote pipe' Jim Blandy
2006-03-09 17:59 ` Eli Zaretskii
2006-03-09 19:13 ` Jim Blandy
2006-03-09 21:44 ` Eli Zaretskii
2006-03-10 1:04 ` Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox