This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Eliminate -var-create error for optzd ptr to struct
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Don Breazeal <donb at codesourcery dot com>
- Cc: "Gustavo\, Luis" <Luis_Gustavo at mentor dot com>, "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 29 Mar 2016 13:01:22 +0100
- Subject: Re: [PATCH] Eliminate -var-create error for optzd ptr to struct
- Authentication-results: sourceware.org; auth=none
- References: <1456273154-28629-1-git-send-email-donb at codesourcery dot com> <56CD03F5 dot 6080505 at codesourcery dot com> <56CDDAEE dot 1030504 at codesourcery dot com>
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 (éå)