Re: PATCH: 2/6 [2nd try]: Add AVX support (Update document)

H.J. Lu
2010-03-12T16:46:35Z

On Sat, Mar 06, 2010 at 02:19:46PM -0800, H.J. Lu wrote:
> Hi,
>
> This patch updates document for AVX support. OK to install?
>
> Thanks.
>
>
> H.J.
> ---
> 2010-03-06 H.J. Lu <hongjiu.lu@intel.com>
>
> * gdb.texinfo (General Query Packets): Document x86=xml.
> (i386 Features): Add org.gnu.gdb.i386.avx.
>

Here is the updated patch,

H.J.
---
2010-03-12 H.J. Lu <hongjiu.lu@intel.com>

* gdb.texinfo (General Query Packets): Document x86=xml.
(i386 Features): Add org.gnu.gdb.i386.avx.

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index a1f3a78..a8f4b2e 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -30274,6 +30274,11 @@ extensions to the remote protocol. @value{GDBN} does not use such
extensions unless the stub also reports that it supports them by
including @samp{multiprocess+} in its @samp{qSupported} reply.
@xref{multiprocess extensions}, for details.
+
+@item x86=xml
+This feature indicates that @value{GDBN} supports supports the x86 XML
+target description. If the stub sees @samp{x86=xml}, it can send
+@value{GDBN} the x86 XML target description.
@end table

Stubs should ignore any unknown values for
@@ -33356,6 +33361,17 @@ describe registers:
@samp{mxcsr}
@end itemize

+The @samp{org.gnu.gdb.i386.avx} feature is optional. It should
+describe the upper 128 bits of @sc{ymm} registers:
+
+@itemize @minus
+@item
+@samp{ymm0h} through @samp{ymm7h} for i386
+@item
+@samp{ymm0h} through @samp{ymm15h} for amd64
+@item
+@end itemize
+
The @samp{org.gnu.gdb.i386.linux} feature is optional. It should
describe a single register, @samp{orig_eax}.