This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Finish constification of varobj interface
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 10 Feb 2015 13:00:05 -0500
- Subject: Re: [PATCH] Finish constification of varobj interface
- Authentication-results: sourceware.org; auth=none
- References: <1423585653-26216-1-git-send-email-simon dot marchi at ericsson dot com> <54DA3731 dot 6070906 at redhat dot com>
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!