Tom Tromey wrote: > >>>>> "Gary" == Gary Benson writes: > > Gary> This patch updates gdbserver to allow arguments to be passed > Gary> in the annex of qXfer:libraries-svr4:read to allow that > Gary> function to transfer partial lists of libraries. The ability > Gary> of gdbserver to support these arguments is indicated by a > Gary> qSupported response containing > Gary> "augmented-libraries-svr4-read+". > > This needs a documentation patch to reflect the new addition to the > remote protocol. The attached patch adds this documentation. I have also attached an updated code patch with more robust argument handling--specifically, if START is unset or set to zero, the stub will read the start of the library list from r_debug in the usual way. In the original patch, specifying *any* arguments would bypass that code, and the code to read the list would see START set to zero. This didn't affect anything now, as there was no reason to use the augmented form of qXfer:libraries-svr4:read without setting START, but it would have caused problems in future if further arguments were added. Thanks, Gary