[PATCH 1/4] Basic c++ification of varobj

Pedro Alves palves@redhat.com
Wed Nov 22 10:44:00 GMT 2017


On 11/18/2017 09:46 PM, Simon Marchi wrote:

>  /* Return the type of the value that's stored in VAR,
> diff --git a/gdb/varobj.h b/gdb/varobj.h
> index 0d4a537d7e..d09b99b7f2 100644
> --- a/gdb/varobj.h
> +++ b/gdb/varobj.h
> @@ -89,6 +89,9 @@ struct varobj_dynamic;
>     a particular object variable.  */
>  struct varobj
>  {
> +  varobj (varobj_root *root_);

explicit?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list