aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDavid Taylor <dtaylor@emc.com>2014-05-17 10:29:57 +0300
committerEli Zaretskii <eliz@gnu.org>2014-05-17 10:29:57 +0300
commit8dfcab11cdc75d128bef59355b561760f5f59146 (patch)
tree60aaba94161bc974b57fd7161f5f30309c80e01b /gdb
parentff46be9062f65422462792ffda6bf1f896a71541 (diff)
downloadfsf-binutils-gdb-8dfcab11cdc75d128bef59355b561760f5f59146.zip
fsf-binutils-gdb-8dfcab11cdc75d128bef59355b561760f5f59146.tar.gz
fsf-binutils-gdb-8dfcab11cdc75d128bef59355b561760f5f59146.tar.bz2
Improve docs of qfThreadInfo packet.
gdb/doc/gdb.texinfo (General Query Packets): Add a note about thread IDs mentioned in the qfThreadInfo reply.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index f3cceba..5adb06f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-17 David Taylor <dtaylor@emc.com>
+
+ * gdb.texinfo (General Query Packets): Add a note about thread IDs
+ mentioned in the qfThreadInfo reply.
+
2014-05-16 Doug Evans <dje@google.com>
* gdb.texinfo (Mode Options): Add -D.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 49a0602..a6bde12 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -34806,6 +34806,12 @@ with @samp{l} (lower-case ell, for @dfn{last}).
Refer to @ref{thread-id syntax}, for the format of the @var{thread-id}
fields.
+@emph{Note: @value{GDBN} will send the @code{qfThreadInfo} query during the
+initial connection with the remote target, and the very first thread ID
+mentioned in the reply will be stopped by @value{GDBN} in a subsequent
+message. Therefore, the stub should ensure that the first thread ID in
+the @code{qfThreadInfo} reply is suitable for being stopped by @value{GDBN}.}
+
@item qGetTLSAddr:@var{thread-id},@var{offset},@var{lm}
@cindex get thread-local storage address, remote request
@cindex @samp{qGetTLSAddr} packet