This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 7/7] Access executable from remote system when first inferior appears
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 15 Apr 2015 17:15:13 +0100
- Subject: Re: [PATCH 7/7] Access executable from remote system when first inferior appears
- Authentication-results: sourceware.org; auth=none
- References: <1427887341-31819-1-git-send-email-gbenson at redhat dot com> <1427887341-31819-8-git-send-email-gbenson at redhat dot com> <552E3C6B dot 2090300 at redhat dot com> <20150415135555 dot GA18079 at blade dot nx> <20150415140558 dot GA20939 at blade dot nx>
On 04/15/2015 03:05 PM, Gary Benson wrote:
> Also, I added this to the commit message:
>
> With this commit, remote debugging can now be initiated using only a
> "target remote" or "target extended-remote" command; no "set sysroot"
> or "file" commands are required, e.g.
>
> bash$ gdb -q
> (gdb) target remote | gdbserver - /bin/sh
> Remote debugging using | gdbserver - /bin/sh
> Process /bin/sh created; pid = 32166
> stdin/stdout redirected
> Remote debugging using stdio
> Reading symbols from target:/bin/bash...
>
> Is that ok?
>
OK.
Thanks,
Pedro Alves