From 173142693f53ee26009ca0a740a9c20a7ba917db Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 20 May 2008 21:09:37 +0000 Subject: (Multi-threaded Apps): New node for new annotation. --- gdb/doc/annotate.texinfo | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gdb/doc/annotate.texinfo') 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 -- cgit v1.1