From 82f68b1c00c3b252230770dc0b3178a61c8c949a Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 3 May 2008 15:40:12 +0000 Subject: * gdb.texinfo (GDB/MI Output Records): Document =thread-create and =thread-exited. --- gdb/doc/ChangeLog | 7 ++++++- gdb/doc/gdb.texinfo | 30 ++++++++++++++++++------------ 2 files changed, 24 insertions(+), 13 deletions(-) (limited to 'gdb') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 00e4de2..5b9cfc6 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,7 +1,12 @@ 2008-05-03 Vladimir Prus + * gdb.texinfo (GDB/MI Output Records): + Document =thread-create and =thread-exited. + +2008-05-03 Vladimir Prus + * gdb.texinfo (GDB/MI Development and Front Ends): - Document *thread-created and *thread-exited. + Remove mention of dmi-discuss. 2008-05-03 Pedro Alves diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 91c9dee..636a84b 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18072,7 +18072,7 @@ follow development on @email{gdb@@sourceware.org} and @menu * GDB/MI Result Records:: * GDB/MI Stream Records:: -* GDB/MI Out-of-band Records:: +* GDB/MI Async Records:: @end menu @node GDB/MI Result Records @@ -18140,24 +18140,23 @@ The log stream contains debugging messages being produced by @value{GDBN}'s internals. @end table -@node GDB/MI Out-of-band Records -@subsection @sc{gdb/mi} Out-of-band Records +@node GDB/MI Async Records +@subsection @sc{gdb/mi} Async Records -@cindex out-of-band records in @sc{gdb/mi} -@cindex @sc{gdb/mi}, out-of-band records -@dfn{Out-of-band} records are used to notify the @sc{gdb/mi} client of +@cindex async records in @sc{gdb/mi} +@cindex @sc{gdb/mi}, async records +@dfn{Async} records are used to notify the @sc{gdb/mi} client of additional changes that have occurred. Those changes can either be a -consequence of @sc{gdb/mi} (e.g., a breakpoint modified) or a result of +consequence of @sc{gdb/mi} commands (e.g., a breakpoint modified) or a result of target activity (e.g., target stopped). -The following is a preliminary list of possible out-of-band records. -In particular, the @var{exec-async-output} records. +The following is the list of possible async records @table @code -@item *stopped,reason="@var{reason}" -@end table -@var{reason} can be one of the following: +@item *stopped,reason="@var{reason}" +The target has stopped. The @var{reason} field can have one of the +following values: @table @code @item breakpoint-hit @@ -18187,6 +18186,13 @@ The inferior exited normally. A signal was received by the inferior. @end table +@item =thread-created,id="@var{id}" +@itemx =thread-exited,id="@var{id}" +A thread either was created, or has exited. The @var{id} field +contains the @value{GDBN} identifier of the thread. +@end table + + @c %%%%%%%%%%%%%%%%%%%%%%%%%%%% SECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @node GDB/MI Simple Examples -- cgit v1.1