From: Nick Roberts Date: Fri, 6 Jun 2008 00:35:16 +0000 (+0000) Subject: (Multi-threaded Apps): Add entry for thread-changed annotation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aeac218185048f6fd238bf68c73e55901c8e8b90;p=binutils-gdb.git (Multi-threaded Apps): Add entry for thread-changed annotation. --- diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo index 16d86a13884..2c48fdb0a58 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