From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29290 invoked by alias); 8 Feb 2010 15:33:45 -0000 Received: (qmail 29282 invoked by uid 22791); 8 Feb 2010 15:33:45 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,NO_DNS_FOR_FROM X-Spam-Check-By: sourceware.org Received: from mga05.intel.com (HELO fmsmga101.fm.intel.com) (192.55.52.89) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Feb 2010 15:33:39 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 08 Feb 2010 07:31:49 -0800 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.107]) by fmsmga002.fm.intel.com with ESMTP; 08 Feb 2010 07:33:07 -0800 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 068F2812344; Mon, 8 Feb 2010 07:33:37 -0800 (PST) Date: Mon, 08 Feb 2010 15:33:00 -0000 From: "H.J. Lu" To: GDB Subject: PATCH: Document i386 target features Message-ID: <20100208153337.GA25531@lucon.org> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) 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-02/txt/msg00209.txt.bz2 Hi, Here is the patch to document i386 target features for i386 XML files I checked in. OK to install? Thanks. H.J. --- 2010-02-08 H.J. Lu * gdb.texinfo: Document i386 target features. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index f01a720..c53f01a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -32796,6 +32796,7 @@ registers using the capitalization used in the description. @menu * ARM Features:: +* I386 Features:: * MIPS Features:: * M68K Features:: * PowerPC Features:: @@ -32831,6 +32832,26 @@ quad-precision registers from pairs of double-precision registers. If this feature is present, @samp{org.gnu.gdb.arm.vfp} must also be present and include 32 double-precision registers. +@node I386 Features +@subsection I386 Features +@cindex target descriptions, I386 features + +The @samp{org.gnu.gdb.i386.core} feature is required for i386/amd64 +targets. It should contain registers @samp{eax} through @samp{edi} +plus @samp{eip} for i386 and @samp{rax} through @samp{r15} plus +@samp{rip} for amd64, @samp{eflags}, @samp{cs}, @samp{ss}, @samp{ds}, +@samp{es}, @samp{fs}, @samp{gs}, registers @samp{st0} through @samp{st7}, +@samp{fctrl}, @samp{fstat}, @samp{ftag}, @samp{fiseg}, @samp{fioff}, +@samp{foseg}, @samp{fooff} and @samp{fop}. +They may be i386 or amd64 depending on the target. + +The @samp{org.gnu.gdb.i386.sse} feature is required. It should +contain registers @samp{xmm0} through @samp{xmm7} for i386, +registers @samp{xmm0} through @samp{xmm15} for amd64 and @samp{mxcsr}. + +The @samp{org.gnu.gdb.i386.linux} feature is optional. It should +contain a single register, @samp{orig_eax}. + @node MIPS Features @subsection MIPS Features @cindex target descriptions, MIPS features