From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12903 invoked by alias); 7 Apr 2010 04:12:32 -0000 Received: (qmail 12776 invoked by uid 22791); 7 Apr 2010 04:12:31 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,TW_EG X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Apr 2010 04:12:26 +0000 Received: by vws14 with SMTP id 14so357562vws.0 for ; Tue, 06 Apr 2010 21:12:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.44.198 with HTTP; Tue, 6 Apr 2010 21:12:23 -0700 (PDT) In-Reply-To: <20100403215747.GA13369@host0.dyn.jankratochvil.net> References: <20100304180219.GA10826@intel.com> <20100304180408.GA10869@intel.com> <20100304180748.GC10869@intel.com> <20100304180901.GD10869@intel.com> <20100304181003.GE10869@intel.com> <20100306222250.GG21133@intel.com> <20100312172541.GB6643@intel.com> <20100329010935.GA27237@intel.com> <20100330164833.GB13521@intel.com> <20100403215747.GA13369@host0.dyn.jankratochvil.net> Date: Wed, 07 Apr 2010 04:12:00 -0000 Received: by 10.220.123.104 with SMTP id o40mr4080564vcr.88.1270613543678; Tue, 06 Apr 2010 21:12:23 -0700 (PDT) Message-ID: Subject: Re: PATCH: 6/6 [3rd try]: Add AVX support (gdbserver changes) From: "H.J. Lu" To: Jan Kratochvil Cc: GDB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00116.txt.bz2 2010/4/3 Jan Kratochvil : > 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[] =3D { >> =A0 =A0 =A0 fetch them every time, but still fall back to PTRACE_PEEKUSE= R for the >> =A0 =A0 =A0 general registers. =A0Some kernels support these, but not th= e newer >> =A0 =A0 =A0 PPC_PTRACE_GETREGS. =A0*/ >> - =A0{ PTRACE_GETVSXREGS, PTRACE_SETVSXREGS, SIZEOF_VSXREGS, EXTENDED_RE= GS, >> + =A0{ PTRACE_GETVSXREGS, PTRACE_SETVSXREGS, 0, SIZEOF_VSXREGS, EXTENDED= _REGS, >> =A0 =A0ppc_fill_vsxregset, ppc_store_vsxregset }, >> =A0 =A0{ PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, EXTENDED_REG= S, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0^ missing "0, " > > linux-ppc-low.c:599: error: incompatible types when initializing type =91= enum regset_type=92 using type =91void (*)(struct regcache *, void *)=92 > linux-ppc-low.c:599: warning: initialization from incompatible pointer ty= pe > I will fix it. Thanks. --=20 H.J.