From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15623 invoked by alias); 10 Feb 2015 18:00:10 -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 15594 invoked by uid 89); 10 Feb 2015 18:00:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg21.ericsson.net Received: from usevmg21.ericsson.net (HELO usevmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 10 Feb 2015 18:00:08 +0000 Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id 38.76.25146.667E9D45; Tue, 10 Feb 2015 12:11:35 +0100 (CET) Received: from [142.133.110.232] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.89) with Microsoft SMTP Server id 14.3.210.2; Tue, 10 Feb 2015 13:00:05 -0500 Message-ID: <54DA4725.6060802@ericsson.com> Date: Tue, 10 Feb 2015 18:00:00 -0000 From: Simon Marchi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Pedro Alves , Subject: Re: [PATCH] Finish constification of varobj interface References: <1423585653-26216-1-git-send-email-simon.marchi@ericsson.com> <54DA3731.6070906@redhat.com> In-Reply-To: <54DA3731.6070906@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00270.txt.bz2 On 02/10/2015 11:52 AM, Pedro Alves wrote: > On 02/10/2015 04:27 PM, Simon Marchi wrote: >> This completes the constification of the struct varobj pointers in the >> lang_varobj_ops interface partially done in >> b09e2c591f9221d865bfe8425990a6bf9fab24e3. As suggested by Pedro, >> varobj_get_path_expr casts away the const to assign the "mutable" struct >> member. > > OK with the formatting fix you suggested downthread. > > Thanks, > Pedro Alves > Thanks, pushed!