[PATCH 0/6] Implement the ability to start inferiors with a shell on gdbserver

Eli Zaretskii eliz@gnu.org
Fri Dec 23 07:50:00 GMT 2016

> 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?


More information about the Gdb-patches mailing list