This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tom Tromey wrote: > >>>>> "Gary" == Gary Benson <gbenson@redhat.com> 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
Attachment:
rtld-probes-8-docs.patch
Description: Text document
Attachment:
rtld-probes-3-gdbserver.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |