From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101852 invoked by alias); 24 Jul 2015 20:18:17 -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 101843 invoked by uid 89); 24 Jul 2015 20:18:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 24 Jul 2015 20:18:14 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3mdMKb0DHfz3hjPC; Fri, 24 Jul 2015 22:18:10 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3mdMKZ0cmlzvhLH; Fri, 24 Jul 2015 22:18:10 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id yl0NEgHGzr6W; Fri, 24 Jul 2015 22:18:08 +0200 (CEST) X-Auth-Info: AgaP9AVZNV9Cef4C2oonhGLhL9AVK0LpYKvBAk7W2bxJEfKSsU0MjhWLJ3vNt/e1 Received: from igel.home (host-188-174-219-252.customer.m-online.net [188.174.219.252]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 24 Jul 2015 22:18:08 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 454062C4B04; Fri, 24 Jul 2015 22:18:08 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: Sergio Durigan Junior , simon.marchi@ericsson.com, gdb-patches@sourceware.org Subject: Re: [PATCH] Make sure GDB uses a valid shell when starting the inferior and to perform the "shell" command References: <1437761993-18758-1-git-send-email-sergiodj@redhat.com> <55B2850D.6030306@ericsson.com> <87k2tp5q3g.fsf@redhat.com> <838ua52wmp.fsf@gnu.org> X-Yow: A KAISER ROLL?! What good is a Kaiser Roll without a little COLE SLAW on the SIDE? Date: Fri, 24 Jul 2015 20:18:00 -0000 In-Reply-To: <838ua52wmp.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Jul 2015 22:17:34 +0300") Message-ID: <87oaj148e7.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-07/txt/msg00725.txt.bz2 Eli Zaretskii writes: > Since the number of valid shells is much smaller than the number of > non-shell programs, isn't it better to have a database of known shells > than to have a database of non-shells people could be expected to set > SHELL to? This database will be of infinite size. Why should it be invalid to set SHELL=/foo/bar if that's my self-compiled super-duper shell? 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."