aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/annotate.texinfo
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-05-20 21:09:37 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-05-20 21:09:37 +0000
commit173142693f53ee26009ca0a740a9c20a7ba917db (patch)
treebe8254647994918e883222520878fa30773b0524 /gdb/doc/annotate.texinfo
parent6b59c36b65ae7f3d3a55a4bfc03afa717858e23a (diff)
downloadbinutils-173142693f53ee26009ca0a740a9c20a7ba917db.zip
binutils-173142693f53ee26009ca0a740a9c20a7ba917db.tar.gz
binutils-173142693f53ee26009ca0a740a9c20a7ba917db.tar.bz2
(Multi-threaded Apps): New node for new annotation.
Diffstat (limited to 'gdb/doc/annotate.texinfo')
-rw-r--r--gdb/doc/annotate.texinfo16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo
index ed8509e..161da15 100644
--- a/gdb/doc/annotate.texinfo
+++ b/gdb/doc/annotate.texinfo
@@ -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