diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2008-06-06 00:35:16 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2008-06-06 00:35:16 +0000 |
commit | aeac218185048f6fd238bf68c73e55901c8e8b90 (patch) | |
tree | e2a1db76b8158fbbf3327d8c9dc826da87c52c32 | |
parent | b8fa951a9b0f00619f42a28a044d8e334ff646f8 (diff) | |
download | gdb-aeac218185048f6fd238bf68c73e55901c8e8b90.zip gdb-aeac218185048f6fd238bf68c73e55901c8e8b90.tar.gz gdb-aeac218185048f6fd238bf68c73e55901c8e8b90.tar.bz2 |
(Multi-threaded Apps): Add entry for thread-changed annotation.
-rw-r--r-- | gdb/doc/annotate.texinfo | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo index 16d86a1..2c48fdb 100644 --- a/gdb/doc/annotate.texinfo +++ b/gdb/doc/annotate.texinfo @@ -825,17 +825,24 @@ depend on the language). @chapter Multi-threaded Applications @cindex annotations for multi-threaded apps -@findex new-thread@r{, annotation} -The following annotation reports that the application being debugged is -multi-threaded. +The following annotations report thread related changes of state. -@smallexample -^Z^Znew-thread -@end smallexample +@table @code +@findex new-thread@r{, annotation} +@item ^Z^Znew-thread This annotation is issued once for each thread that is created apart from the main thread, which is not reported. +@findex thread-changed@r{, annotation} +@item ^Z^Zthread-changed + +The selected thread has changed. This may occur at the request of the +user with the @code{thread} command, or as a result of execution, +e.g., another thread hits a breakpoint. + +@end table + @raisesections @include fdl.texi @lowersections |