Re: PATCH: 6/6 [3rd try]: Add AVX support (gdbserver changes)

H.J. Lu
2010-04-07T04:12:32Z

2010/4/3 Jan Kratochvil <jan.kratochvil@redhat.com>:
> On Tue, 30 Mar 2010 18:48:33 +0200, H.J. Lu wrote:
>> --- a/gdb/gdbserver/linux-ppc-low.c
>> +++ b/gdb/gdbserver/linux-ppc-low.c
>> @@ -593,14 +593,14 @@ struct regset_info target_regsets[] = {
>>       fetch them every time, but still fall back to PTRACE_PEEKUSER for the
>>       general registers.  Some kernels support these, but not the newer
>>       PPC_PTRACE_GETREGS.  */
>> -  { PTRACE_GETVSXREGS, PTRACE_SETVSXREGS, SIZEOF_VSXREGS, EXTENDED_REGS,
>> +  { PTRACE_GETVSXREGS, PTRACE_SETVSXREGS, 0, SIZEOF_VSXREGS, EXTENDED_REGS,
>>    ppc_fill_vsxregset, ppc_store_vsxregset },
>>    { PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, EXTENDED_REGS,
>                                          ^ missing "0, "
>
> linux-ppc-low.c:599: error: incompatible types when initializing type ‘enum regset_type’ using type ‘void (*)(struct regcache *, void *)’
> linux-ppc-low.c:599: warning: initialization from incompatible pointer type
>

I will fix it.

Thanks.

--
H.J.