From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7775 invoked by alias); 9 Jan 2008 18:56:27 -0000 Received: (qmail 7762 invoked by uid 22791); 9 Jan 2008 18:56:26 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Jan 2008 18:55:01 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-236-100.inter.net.il [84.228.236.100]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EPH10735 (AUTH halo1); Wed, 9 Jan 2008 20:54:47 +0200 (IST) Date: Wed, 09 Jan 2008 18:56:00 -0000 Message-Id: From: Eli Zaretskii To: "Pierre Muller" CC: gdb-patches@sourceware.org In-reply-to: <000001c8529e$a8088460$f8198d20$@u-strasbg.fr> (muller@ics.u-strasbg.fr) Subject: Re: [RFC] win32-nat.c: Improve handling of 'set shell on' Reply-to: Eli Zaretskii References: <000001c8529e$a8088460$f8198d20$@u-strasbg.fr> X-IsSubscribed: yes 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 X-SW-Source: 2008-01/txt/msg00201.txt.bz2 > From: "Pierre Muller" > Date: Wed, 9 Jan 2008 10:04:35 +0100 > > I recently discovered that if you use > 'set shell on' on cygwin native, there are > some specific problems that appear. > > I ran the testsuite with a single line > modified: > -static int useshell = 0; /* use shell for subprocesses */ > +static int useshell = 1; /* use shell for subprocesses */ > Which made the use of shell to start the subprocess > the default. Is this really appropriate for the native Windows port of GDB as well as for Cygwin? If not, we should set this only conditionally, I think.