From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14316 invoked by alias); 2 Apr 2012 17:28:21 -0000 Received: (qmail 14308 invoked by uid 22791); 2 Apr 2012 17:28:20 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Apr 2012 17:28:07 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VM0ks3KVBz3hhVn; Mon, 2 Apr 2012 19:28:05 +0200 (CEST) Received: from igel.home (ppp-93-104-152-142.dynamic.mnet-online.de [93.104.152.142]) by mail.mnet-online.de (Postfix) with ESMTPA id 3VM0ks1sz7z4KKBS; Mon, 2 Apr 2012 19:28:05 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id D8A31CA2A9; Mon, 2 Apr 2012 19:28:04 +0200 (CEST) From: Andreas Schwab To: Pedro Alves Cc: Tristan Gingold , Jack Howarth , gdb@sourceware.org Subject: Re: PR13901 References: <20120330134210.GA7869@bromo.med.uc.edu> <14D51CD4-4990-4B11-952C-64EB8F791306@adacore.com> <4F79AFF4.9000704@redhat.com> <54AC9EED-A577-41CA-B09D-3ED879877D0C@adacore.com> <4F79B4CB.4090903@redhat.com> <4F79C453.3030802@redhat.com> <4F79D419.1080607@redhat.com> X-Yow: Yow! I threw up on my window! Date: Mon, 02 Apr 2012 17:28:00 -0000 In-Reply-To: <4F79D419.1080607@redhat.com> (Pedro Alves's message of "Mon, 02 Apr 2012 17:30:17 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00021.txt.bz2 Pedro Alves writes: > On 04/02/2012 05:22 PM, Andreas Schwab wrote: > >> Pedro Alves writes: >> >>> We can't make GDB fully compatible in all cases with what it can do today >>> if we skip the shell completely. E.g., with "set args $(foo)", "$(foo)" is >>> expanded by the shell, and what that means is up to the user's shell. >> >> You can handle that by calling the shell only for expanding the >> arguments. > > > True, but with that and redirection syntax being also shell > specific, I'm not sure what would be the point compared to what > we've always done. You can do the expansion in a step that is completely separate from starting the inferior. But you cannot handle redirections this way. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."