]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(Multi-threaded Apps): New node for new annotation.
authorNick Roberts <nickrob@snap.net.nz>
Tue, 20 May 2008 21:09:37 +0000 (21:09 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 20 May 2008 21:09:37 +0000 (21:09 +0000)
gdb/doc/annotate.texinfo

index ed8509ea0244dd120d7d6218df341fd484038f17..161da1537bc673b463f5a8d181abfe0d5cbac8fb 100644 (file)
@@ -85,6 +85,7 @@ This is Edition @value{EDITION}, @value{DATE}.
 * Annotations for Running::
                         Whether the program is running, how it stopped, etc.
 * Source Annotations::  Annotations describing source code.
+* Multi-threaded Apps:: An annotation that reports multi-threadedness.
 
 * GNU Free Documentation License::
 @end menu
@@ -820,6 +821,21 @@ source which is being displayed.  @var{addr} is in the form @samp{0x}
 followed by one or more lowercase hex digits (note that this does not
 depend on the language).
 
+@node Multi-threaded Apps
+@chapter Multi-threaded Applications
+@cindex annotations for multi-threaded apps
+
+@findex new-thread
+The following annotation reports that the application being debugged is
+multi-threaded.
+
+@smallexample
+^Z^Znew-thread
+@end smallexample
+
+This annotation is issued once for each thread that is created apart from
+the main thread, which is not reported.
+
 @raisesections
 @include fdl.texi
 @lowersections