From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21829 invoked by alias); 3 Apr 2010 21:57:57 -0000 Received: (qmail 21795 invoked by uid 22791); 3 Apr 2010 21:57:56 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_EG,TW_VR,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Apr 2010 21:57:51 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o33Lvo1H011769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 3 Apr 2010 17:57:50 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o33LvlGI021090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 3 Apr 2010 17:57:49 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o33Lvl6a013419; Sat, 3 Apr 2010 23:57:47 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o33Lvl9q013416; Sat, 3 Apr 2010 23:57:47 +0200 Date: Sat, 03 Apr 2010 21:57:00 -0000 From: Jan Kratochvil To: "H.J. Lu" Cc: GDB Subject: Re: PATCH: 6/6 [3rd try]: Add AVX support (gdbserver changes) Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline In-Reply-To: <20100330164833.GB13521@intel.com> User-Agent: Mutt/1.5.20 (2009-08-17) 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/msg00056.txt.bz2 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 > ppc_fill_vrregset, ppc_store_vrregset }, > - { PTRACE_GETEVRREGS, PTRACE_SETEVRREGS, 32 * 4 + 8 + 4, EXTENDED_REGS, > + { PTRACE_GETEVRREGS, PTRACE_SETEVRREGS, 0, 32 * 4 + 8 + 4, EXTENDED_REGS, > ppc_fill_evrregset, ppc_store_evrregset }, > - { 0, 0, 0, GENERAL_REGS, ppc_fill_gregset, NULL }, > - { 0, 0, -1, -1, NULL, NULL } > + { 0, 0, 0, 0, GENERAL_REGS, ppc_fill_gregset, NULL }, > + { 0, 0, 0, -1, -1, NULL, NULL } > }; Thanks, Jan