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: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Tue, 10 Feb 2015 16:52:01 +0000
- 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>
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