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: http://git.osdn.net/view?a=commitdiff_plain;h=fe486392768b52abfe23094f3ac5a41af7f196a6;p=pf3gnuchains%2Fpf3gnuchains3x.git (Multi-threaded Apps): Add entry for thread-changed annotation. --- diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo index 16d86a1388..2c48fdb0a5 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