From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42371 invoked by alias); 10 Jan 2018 16:10:31 -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 42358 invoked by uid 89); 10 Jan 2018 16:10:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:263 X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.194.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 Jan 2018 16:10:28 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 203DB27C20 for ; Wed, 10 Jan 2018 10:10:27 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id ZIxPeyG9PvkfxZIxPeW8Ex; Wed, 10 Jan 2018 10:10:27 -0600 Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:36526 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eZIxO-000aQj-TA; Wed, 10 Jan 2018 10:10:27 -0600 From: Tom Tromey To: Yao Qi Cc: Tom Tromey , Simon Marchi , Subject: Re: [RFA 2/6] Allocate abbrev_table with new References: <20180106002621.21099-1-tom@tromey.com> <20180106002621.21099-3-tom@tromey.com> <67e2a403-b51f-8ac3-2bae-0973a2e22ee4@ericsson.com> <877esqkgi7.fsf@tromey.com> <866089hqgy.fsf@gmail.com> Date: Wed, 10 Jan 2018 16:10:00 -0000 In-Reply-To: <866089hqgy.fsf@gmail.com> (Yao Qi's message of "Wed, 10 Jan 2018 12:02:05 +0000") Message-ID: <87zi5litji.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1eZIxO-000aQj-TA X-Source-Sender: 71-218-90-63.hlrn.qwest.net (pokyo) [71.218.90.63]:36526 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-01/txt/msg00200.txt.bz2 >> /* Where the abbrev table came from. >> This is used as a sanity check when the table is used. */ >> sect_offset sect_off; Yao> It can be const now. I made this change. I also made the constructor explicit. Tom