From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20479 invoked by alias); 29 Nov 2001 21:10:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19971 invoked from network); 29 Nov 2001 21:08:51 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by hostedprojects.ges.redhat.com with SMTP; 29 Nov 2001 21:08:51 -0000 Received: from drow by nevyn.them.org with local (Exim 3.32 #1 (Debian)) id 169YQm-0003Dp-00 for ; Thu, 29 Nov 2001 16:09:16 -0500 Date: Mon, 19 Nov 2001 16:00:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFA] W.I.P. AltiVec ppc registers support. Message-ID: <20011129160916.A12345@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <15365.39495.801289.497931@krustylu.cygnus.com> <20011129012730.A19781@nevyn.them.org> <3C066A96.6050201@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C066A96.6050201@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2001-11/txt/msg00351.txt.bz2 Message-ID: <20011119160000.lX3Tnow98XMwsUfDfogjNj6E559Y3ypoNzV9MAbTAck@z> On Thu, Nov 29, 2001 at 12:04:22PM -0500, Andrew Cagney wrote: > > > >Wait, I knew I was forgetting something important. > > > >There is no kernel support for this feature in any public PowerPC > >kernel tree, and to my knowledge there has been no suggested patch for > >it on any of the public LinuxPPC forums. As such, the interface to it > >is still up in the air. I've discussed this with other kernel folk at > >various times, and the general consensus is that, instead of adding > >them to the user area and using PEEKUSR, someone should simply > >implement PTRACE_GETFPXREGS (perhaps just PTRACE_GETXREGS, as the FP > >does not really apply, but consistency...). We almost never want to > >fetch just one altivec register, excepting maybe VRSAVE, and GETFPXREGS > >takes negligibly more time than a single PEEKUSR call. > > So if the tweek to ppc-linux-nat.c that does the register fetch was > omitted, it would be ok? It would be (somewhat trivial, but) OK, yes. I have nothing against the implementation, just the interface. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer