From: Vladimir Prus Date: Sat, 3 May 2008 15:40:12 +0000 (+0000) Subject: * gdb.texinfo (GDB/MI Output Records): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82f68b1c00c3b252230770dc0b3178a61c8c949a;p=binutils-gdb.git * gdb.texinfo (GDB/MI Output Records): Document =thread-create and =thread-exited. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 00e4de2d1bb..5b9cfc63699 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 91c9dee7587..636a84b0c4f 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