From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82263 invoked by alias); 23 Dec 2016 07:50:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 82107 invoked by uid 89); 23 Dec 2016 07:50:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=among X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Dec 2016 07:50:07 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKKc8-0003Mo-Hc for gdb-patches@sourceware.org; Fri, 23 Dec 2016 02:50:05 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKKc1-0003Hr-2I; Fri, 23 Dec 2016 02:49:57 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1686 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKKc0-000106-2w; Fri, 23 Dec 2016 02:49:56 -0500 Date: Fri, 23 Dec 2016 07:50:00 -0000 Message-Id: <83zijnytiq.fsf@gnu.org> From: Eli Zaretskii To: Sergio Durigan Junior CC: gdb-patches@sourceware.org, palves@redhat.com In-reply-to: <1482464361-4068-1-git-send-email-sergiodj@redhat.com> (message from Sergio Durigan Junior on Thu, 22 Dec 2016 22:39:15 -0500) Subject: Re: [PATCH 0/6] Implement the ability to start inferiors with a shell on gdbserver Reply-to: Eli Zaretskii References: <1482464361-4068-1-git-send-email-sergiodj@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00396.txt.bz2 > From: Sergio Durigan Junior > 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.