From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70974 invoked by alias); 26 Sep 2017 01:36:11 -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 70963 invoked by uid 89); 26 Sep 2017 01:36:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=ouch X-HELO: gproxy5-pub.mail.unifiedlayer.com Received: from gproxy5-pub.mail.unifiedlayer.com (HELO gproxy5-pub.mail.unifiedlayer.com) (67.222.38.55) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Sep 2017 01:36:09 +0000 Received: from cmgw3 (unknown [10.0.90.84]) by gproxy5.mail.unifiedlayer.com (Postfix) with ESMTP id 61275140670 for ; Mon, 25 Sep 2017 19:36:08 -0600 (MDT) Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id E1c51w0072f2jeq011c83Q; Mon, 25 Sep 2017 19:36:08 -0600 X-Authority-Analysis: v=2.2 cv=K/VSJ2eI c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=2JCJgTwv5E4A:10 a=pGLkceISAAAA:8 a=K1YbKeP_xSJoMNcNJQQA:9 a=VnYy_lD0PPEA:10 Received: from 75-166-76-94.hlrn.qwest.net ([75.166.76.94]:47582 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dwen7-002LlL-19; Mon, 25 Sep 2017 19:36:05 -0600 From: Tom Tromey To: Yao Qi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA 4/5] Remove make_cleanup_regcache_invalidate References: <20170924024608.4346-1-tom@tromey.com> <20170924024608.4346-5-tom@tromey.com> <20170925200408.GH8425@1170ee0b50d5> Date: Tue, 26 Sep 2017 01:36:00 -0000 In-Reply-To: <20170925200408.GH8425@1170ee0b50d5> (Yao Qi's message of "Mon, 25 Sep 2017 20:04:08 +0000") Message-ID: <87poaekzqz.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Exim-ID: 1dwen7-002LlL-19 X-Source-Sender: 75-166-76-94.hlrn.qwest.net (bapiya) [75.166.76.94]:47582 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-SW-Source: 2017-09/txt/msg00764.txt.bz2 >>>>> "Yao" == Yao Qi writes: >> + regcache_invalidator (m_regcache, m_regnum); m_regcache-> invalidate (m_regnum)? Yao> I don't see why we need to call ctor in dtor. Ouch, yeah. I'll fix. Tom