From owner-freebsd-arch Mon Oct 21 14: 9:29 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D245A37B401 for ; Mon, 21 Oct 2002 14:09:27 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3032E43E75 for ; Mon, 21 Oct 2002 14:09:27 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0018.cvx40-bradley.dialup.earthlink.net ([216.244.42.18] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 183jnf-0006Uy-00; Mon, 21 Oct 2002 14:09:24 -0700 Message-ID: <3DB46CA2.1798B6A6@mindspring.com> Date: Mon, 21 Oct 2002 14:07:46 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mark Kettenis Cc: freebsd-arch@freebsd.org, bsd-api-discuss@wasabisystems.com Subject: Re: ptrace(2) and vector registers References: <200210212039.g9LKdMjS001116@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mark Kettenis wrote: > NetBSD already has support for the SSE registers. There is `struct > xmmregs' in and PT_GETXMMREGS & PT_SETXMMREGS > reequests in . I have to say that I'm not terribly > happy with `struct xmmregs', since it ends with an 's', where the > other structs in (`struct reg' and `struct fpreg') > don't. But the most inportant thing is that these names are tied to > the x86. Since both SSE and AltiVec are some sort of vector registers > I'd like to propose `struct vreg' and PT_GETVREGS & PT_SETVREGS as > alternatives. NetBSD/powerpc already defines `struct vreg'. What do the NetBSD people say about making this change in their code, and getting rid of 'PT_GETXMMREGS' and 'PT_SETXMMREGS' in their x86 code? They may have good reasons for not doing this, which would also be good reasons for FreeBSD, or they might say "Cool! Let's switch!" and do all the GDB work for you, for free. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message