[PATCH 7/7] Access executable from remote system when first inferior appears
Gary Benson
gbenson@redhat.com
Thu Apr 16 11:47:00 GMT 2015
Pedro Alves wrote:
> Maybe something like this? :
>
> -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, unless the remote
> +program file is stripped, the only command you need is
> +@code{target remote}. Otherwise, start up @value{GDBN} using the
> +name of the local unstripped copy of your program as the first
> +argument, or use the @code{file} command.
Looks good to me. Eli, is this ok?
Cheers,
Gary
--
http://gbenson.net/
More information about the Gdb-patches
mailing list