aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-02-08 19:43:19 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-02-08 19:43:19 +0000
commit3bb8d5c3362294ff8e48eeed986801a1b2bbe81f (patch)
tree80f0f30ee511e0ab896e56f37056fe5ec5938631 /gdb
parentd80e8de27fad4f09083d6b61332d2c9ab87c2079 (diff)
downloadgdb-3bb8d5c3362294ff8e48eeed986801a1b2bbe81f.zip
gdb-3bb8d5c3362294ff8e48eeed986801a1b2bbe81f.tar.gz
gdb-3bb8d5c3362294ff8e48eeed986801a1b2bbe81f.tar.bz2
Document i386 XML target features.
2010-02-08 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo: Document i386 target features.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo40
2 files changed, 44 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a3008b5..8027d58 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gdb.texinfo: Document i386 target features.
+
2010-02-05 Doug Evans <dje@google.com>
* gdbint.texinfo (Testsuite): Add a new section to document the
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e1d48e0..b31cfed 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -32787,6 +32787,7 @@ registers using the capitalization used in the description.
@menu
* ARM Features::
+* i386 Features::
* MIPS Features::
* M68K Features::
* PowerPC Features::
@@ -32822,6 +32823,45 @@ 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 describe the following registers:
+
+@itemize @minus
+@item
+@samp{eax} through @samp{edi} plus @samp{eip} for i386
+@item
+@samp{rax} through @samp{r15} plus @samp{rip} for amd64
+@item
+@samp{eflags}, @samp{cs}, @samp{ss}, @samp{ds}, @samp{es},
+@samp{fs}, @samp{gs}
+@item
+@samp{st0} through @samp{st7}
+@item
+@samp{fctrl}, @samp{fstat}, @samp{ftag}, @samp{fiseg}, @samp{fioff},
+@samp{foseg}, @samp{fooff} and @samp{fop}
+@end itemize
+
+The register sets may be different, depending on the target.
+
+The @samp{org.gnu.gdb.i386.sse} feature is required. It should
+describe registers:
+
+@itemize @minus
+@item
+@samp{xmm0} through @samp{xmm7} for i386
+@item
+@samp{xmm0} through @samp{xmm15} for amd64
+@item
+@samp{mxcsr}
+@end itemize
+
+The @samp{org.gnu.gdb.i386.linux} feature is optional. It should
+describe a single register, @samp{orig_eax}.
+
@node MIPS Features
@subsection MIPS Features
@cindex target descriptions, MIPS features