This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]