2c2fa1
http://sourceware.org/ml/gdb-cvs/2013-06/msg00016.html
2c2fa1
2c2fa1
### src/gdb/doc/ChangeLog	2013/05/24 04:50:26	1.1463
2c2fa1
### src/gdb/doc/ChangeLog	2013/06/04 13:07:45	1.1464
2c2fa1
## -1,3 +1,12 @@
2c2fa1
+2013-06-04 Gary Benson  <gbenson@redhat.com>
2c2fa1
+
2c2fa1
+	* gdb.texinfo (General Query Packets/qSupported): Added
2c2fa1
+	"qXfer:libraries-svr4:read" and "augmented-libraries-svr4-read".
2c2fa1
+	to the table of currently defined stub features.
2c2fa1
+	Added a more detailed entry for "augmented-libraries-svr4-read".
2c2fa1
+	(General Query Packets/qXfer:libraries-svr4:read): Documented
2c2fa1
+	the augmented form of this packet.
2c2fa1
+
2c2fa1
 2013-05-23  Joel Brobecker  <brobecker@adacore.com>
2c2fa1
 
2c2fa1
 	* gdb.texinfo (System-wide Configuration Scripts): Renames
2c2fa1
--- src/gdb/doc/gdb.texinfo	2013/05/24 04:50:26	1.1093
2c2fa1
+++ src/gdb/doc/gdb.texinfo	2013/06/04 13:07:45	1.1094
2c2fa1
@@ -38594,6 +38594,16 @@
2c2fa1
 @tab @samp{-}
2c2fa1
 @tab Yes
2c2fa1
 
2c2fa1
+@item @samp{qXfer:libraries-svr4:read}
2c2fa1
+@tab No
2c2fa1
+@tab @samp{-}
2c2fa1
+@tab Yes
2c2fa1
+
2c2fa1
+@item @samp{augmented-libraries-svr4-read}
2c2fa1
+@tab No
2c2fa1
+@tab @samp{-}
2c2fa1
+@tab No
2c2fa1
+
2c2fa1
 @item @samp{qXfer:memory-map:read}
2c2fa1
 @tab No
2c2fa1
 @tab @samp{-}
2c2fa1
@@ -38770,6 +38780,11 @@
2c2fa1
 The remote stub understands the @samp{qXfer:libraries-svr4:read} packet
2c2fa1
 (@pxref{qXfer svr4 library list read}).
2c2fa1
 
2c2fa1
+@item augmented-libraries-svr4-read
2c2fa1
+The remote stub understands the augmented form of the
2c2fa1
+@samp{qXfer:libraries-svr4:read} packet
2c2fa1
+(@pxref{qXfer svr4 library list read}).
2c2fa1
+
2c2fa1
 @item qXfer:memory-map:read
2c2fa1
 The remote stub understands the @samp{qXfer:memory-map:read} packet
2c2fa1
 (@pxref{qXfer memory map read}).
2c2fa1
@@ -39065,7 +39080,10 @@
2c2fa1
 @anchor{qXfer svr4 library list read}
2c2fa1
 Access the target's list of loaded libraries when the target is an SVR4
2c2fa1
 platform.  @xref{Library List Format for SVR4 Targets}.  The annex part
2c2fa1
-of the generic @samp{qXfer} packet must be empty (@pxref{qXfer read}).
2c2fa1
+of the generic @samp{qXfer} packet must be empty unless the remote
2c2fa1
+stub indicated it supports the augmented form of this packet
2c2fa1
+by supplying an appropriate @samp{qSupported} response
2c2fa1
+(@pxref{qXfer read}, @ref{qSupported}).
2c2fa1
 
2c2fa1
 This packet is optional for better performance on SVR4 targets.  
2c2fa1
 @value{GDBN} uses memory read packets to read the SVR4 library list otherwise.
2c2fa1
@@ -39073,6 +39091,30 @@
2c2fa1
 This packet is not probed by default; the remote stub must request it,
2c2fa1
 by supplying an appropriate @samp{qSupported} response (@pxref{qSupported}).
2c2fa1
 
2c2fa1
+If the remote stub indicates it supports the augmented form of this
2c2fa1
+packet then the annex part of the generic @samp{qXfer} packet may
2c2fa1
+contain a semicolon-separated list of @samp{@var{name}=@var{value}}
2c2fa1
+arguments.  The currently supported arguments are:
2c2fa1
+
2c2fa1
+@table @code
2c2fa1
+@item start=@var{address}
2c2fa1
+A hexadecimal number specifying the address of the @samp{struct
2c2fa1
+link_map} to start reading the library list from.  If unset or zero
2c2fa1
+then the first @samp{struct link_map} in the library list will be
2c2fa1
+chosen as the starting point.
2c2fa1
+
2c2fa1
+@item prev=@var{address}
2c2fa1
+A hexadecimal number specifying the address of the @samp{struct
2c2fa1
+link_map} immediately preceding the @samp{struct link_map}
2c2fa1
+specified by the @samp{start} argument.  If unset or zero then
2c2fa1
+the remote stub will expect that no @samp{struct link_map}
2c2fa1
+exists prior to the starting point.
2c2fa1
+
2c2fa1
+@end table
2c2fa1
+
2c2fa1
+Arguments that are not understood by the remote stub will be silently
2c2fa1
+ignored.
2c2fa1
+
2c2fa1
 @item qXfer:memory-map:read::@var{offset},@var{length}
2c2fa1
 @anchor{qXfer memory map read}
2c2fa1
 Access the target's @dfn{memory-map}.  @xref{Memory Map Format}.  The