From 3bb8d5c3362294ff8e48eeed986801a1b2bbe81f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 8 Feb 2010 19:43:19 +0000 Subject: [PATCH] Document i386 XML target features. 2010-02-08 H.J. Lu * gdb.texinfo: Document i386 target features. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) 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 + + * gdb.texinfo: Document i386 target features. + 2010-02-05 Doug Evans * 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 -- 2.7.4