[PATCH] Eliminate -var-create error for optzd ptr to struct
Yao Qi
qiyaoltc@gmail.com
Tue Mar 29 12:01:00 GMT 2016
Don Breazeal <donb@codesourcery.com> writes:
>>> @@ -1203,9 +1203,10 @@ value_actual_type (struct value *value, int resolve_simple_types,
>>> /* If result's target type is TYPE_CODE_STRUCT, proceed to
>>> fetch its rtti type. */
>>> if ((TYPE_CODE (result) == TYPE_CODE_PTR
>>> - || TYPE_CODE (result) == TYPE_CODE_REF)
>>> + || TYPE_CODE (result) == TYPE_CODE_REF)
>>
>> Is this just a formatting change?
>
> Yes. I should have documented that in the ChangeLog.
If it is just a format change, you can move it to a separate patch, and
commit it as obvious. Don't mix format change with your bug fix patch.
--
Yao (齐尧)
More information about the Gdb-patches
mailing list