Document i386 XML target features.

2010-02-08  H.J. Lu  <hongjiu.lu@intel.com>

	* gdb.texinfo: Document i386 target features.
This commit is contained in:
H.J. Lu 2010-02-08 19:43:19 +00:00
parent d80e8de27f
commit 3bb8d5c336
2 changed files with 44 additions and 0 deletions

View File

@ -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

View File

@ -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