Re: [PATCH 7/7] Access executable from remote system when first inferior appears

Eli Zaretskii
2015-04-16T15:05:17Z

> Date: Thu, 16 Apr 2015 10:30:13 +0100
> From: Gary Benson <gbenson@redhat.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
>
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -18952,10 +18952,16 @@
> @node Connecting
> @section Connecting to a Remote Target
>
> -On the @value{GDBN} host machine, you will need an unstripped copy of
> -your program, since @value{GDBN} needs symbol and debugging information.
> -Start up @value{GDBN} as usual, using the name of the local copy of your
> -program as the first argument.
> +@value{GDBN} needs an unstripped copy of your program to access symbol
> +and debugging information. Some remote targets@footnote{@xref{qXfer
> +executable filename read}, and @ref{Host I/O Packets}.} allow
> +@value{GDBN} to access program files over the same connection used to
> +communicate with @value{GDBN}. With such a target, the only command
> +you need is @code{target remote}. If the target you are using does
> +not have this support then you will need an unstripped copy of your
> +program on the @value{GDBN} host machine. Start up @value{GDBN} as
> +usual, using the name of the local copy of your program as the first
> +argument.

Thanks, but please don't put cross-references in a footnote. Put it
in parentheses instead, and use @pxref.

Otherwise, this is okay with me.