This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/6] Implement the ability to start inferiors with a shell on gdbserver
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org, palves at redhat dot com
- Date: Fri, 23 Dec 2016 09:49:33 +0200
- Subject: Re: [PATCH 0/6] Implement the ability to start inferiors with a shell on gdbserver
- Authentication-results: sourceware.org; auth=none
- References: <1482464361-4068-1-git-send-email-sergiodj@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Sergio Durigan Junior <sergiodj@redhat.com>
> Cc: palves@redhat.com
> Date: Thu, 22 Dec 2016 22:39:15 -0500
>
> This patch series took a long time to complete due to many and varied
> reasons, but finally here it is.
>
> It implements the "startup-with-shell" feature on gdbserver. This
> means that it will be possible to start inferiors using the shell
> (instead of calling execv*), which brings many advantages.
>
> First of all, it will be possible to use I/O redirection, variable
> substitution and globbing expansion on gdbserver just like we do today
> on GDB. This is great because, among other things, it brings
> gdbserver on a pair with GDB when considering the Feature Parity
> project.
In Windows native debugging, GDB doesn't use the shell to start the
inferior, but redirection is still supported via special code in
windows-nat.c. Can this be made available also in gdbserver?
Thanks.