Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "H.J. Lu" <hongjiu.lu@intel.com>
To: GDB <gdb-patches@sourceware.org>
Subject: PATCH: Document i386 target features
Date: Mon, 08 Feb 2010 15:33:00 -0000	[thread overview]
Message-ID: <20100208153337.GA25531@lucon.org> (raw)

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  <hongjiu.lu@intel.com>

	* 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


             reply	other threads:[~2010-02-08 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08 15:33 H.J. Lu [this message]
2010-02-08 18:38 ` Eli Zaretskii
2010-02-08 19:13   ` H.J. Lu
2010-02-08 19:28     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100208153337.GA25531@lucon.org \
    --to=hongjiu.lu@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=hjl.tools@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox