From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47150 invoked by alias); 1 Oct 2018 19:31:26 -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 46966 invoked by uid 89); 1 Oct 2018 19:31:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:ca, awesome X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Oct 2018 19:31:09 +0000 Received: by simark.ca (Postfix, from userid 112) id 08A1C1E97B; Mon, 1 Oct 2018 15:31:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=simark.ca; s=mail; t=1538422267; bh=oing6JPfFJlopiOyj12mVizLFg6+IEejeG360DJSyvo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eRlUA1OvxyYFPId7ja1gbQNccrI4oYVUXfE4Ahxc37qUPYLd6lfo8Pi9siO7K1ahj hojM10h9Sc4DqPhRJBmIxw/+VwgiHRcbyEiUAAK1vyGCNvOFrMyUonEkIx2BFFx12R 8GiY6j5gmTKPWqpJwjL3l8mlXXOaIIJKtD0q/WRI= Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id 3F2811E186; Mon, 1 Oct 2018 15:31:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=simark.ca; s=mail; t=1538422266; bh=oing6JPfFJlopiOyj12mVizLFg6+IEejeG360DJSyvo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uz4/f1Fhif4cO3nLxDYjmkXGwWxXqVqrLr7PaNxY4HzuPl8nGE7G37nnu96kAZFUs WkIIn7QgM77BZoxgNG/Ymwp+x+04qEriUsLYS1pOygnm6gtl6f7JF1Yhg76cHxfHiK vtbhZMmq+kNz+1iWg1bStIxvDJpCas4aaHhAoVvg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 01 Oct 2018 19:31:00 -0000 From: Simon Marchi To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFC 6/6] Cache a copy of the user's shell on macOS In-Reply-To: <874le5lb6t.fsf@tromey.com> References: <20180926111130.18956-1-tom@tromey.com> <20180926111130.18956-7-tom@tromey.com> <874le5lb6t.fsf@tromey.com> Message-ID: <24df856ab60e0c933bb3146dbbbf37e6@simark.ca> X-Sender: simark@simark.ca User-Agent: Roundcube Webmail/1.3.6 X-SW-Source: 2018-10/txt/msg00026.txt.bz2 On 2018-10-01 15:27, Tom Tromey wrote: > Simon> I am not on Mac right now so I can't test, but I was wondering > how > Simon> annoying it is to have this message every time you run and it > succeeds. > Simon> I like that we explain what's happening when things go wrong, > but is > Simon> it useful to explain it as well when everything works well? > Will the > Simon> user care? > > The cache ensures that in normal operation the message is only printed > once. > This happens because the message is only printed when the copy is made. > Subsequent "run"s, or even subsequent invocations of gdb, will find the > copy of the shell in the cache and remain silent. > > Tom Oh, awesome then! Simon