[PATCH] Guard a call to TYPE_TARGET_TYPE in gnuv3_pass_by_reference

Siva Chandra sivachandra@google.com
Thu Oct 16 18:18:00 GMT 2014


On Thu, Oct 16, 2014 at 11:15 AM, Sergio Durigan Junior
<sergiodj@redhat.com> wrote:
> On Thursday, October 16 2014, Siva Chandra wrote:
>
>> Do you think a test case should be added? I did think about it, but
>> then, should there be a test case for every use of TYPE_TARGET_TYPE? I
>> thought it was more of a "user mistake" in my original patch.
>
> If I may, I think a testcase should be added for this case, yes.  GDB
> should not have a problem because a user mistake.

I will add and send an updated patch. The user mistake I am talking
about here is me as a developer using "TYPE_TARGET_TYPE" in GDB source
code.



More information about the Gdb-patches mailing list