[PATCH 1/4] Basic c++ification of varobj
Simon Marchi
simon.marchi@polymtl.ca
Wed Nov 22 20:05:00 GMT 2017
On 2017-11-22 05:44, Pedro Alves wrote:
> 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?
Good idea, fixed locally.
More information about the Gdb-patches
mailing list