Next: GDB/MI Frame Information, Previous: GDB/MI Stream Records, Up: GDB/MI Output Records
Async records are used to notify the gdb/mi client of additional changes that have occurred. Those changes can either be a consequence of gdb/mi commands (e.g., a breakpoint modified) or a result of target activity (e.g., target stopped).
The following is the list of possible async records:
*running,thread-id="thread"*stopped,reason="reason",thread-id="id",stopped-threads="stopped",core="core"breakpoint-hitwatchpoint-triggerread-watchpoint-triggeraccess-watchpoint-triggerfunction-finishedlocation-reachedwatchpoint-scopeend-stepping-rangeexited-signalledexitedexited-normallysignal-receivedThe id field identifies the thread that directly caused the stop
– for example by hitting a breakpoint. Depending on whether all-stop
mode is in effect (see All-Stop Mode), gdb may either
stop all threads, or only the thread that directly triggered the stop.
If all threads are stopped, the stopped field will have the
value of "all". Otherwise, the value of the stopped
field will be a list of thread identifiers. Presently, this list will
always include a single thread, but frontend should be prepared to see
several threads in the list. The core field reports the
processor core on which the stop event has happened. This field may be absent
if such information is not available.
=thread-group-created,id="id"=thread-group-exited,id="id"=thread-created,id="id",group-id="gid"=thread-exited,id="id",group-id="gid"=thread-selected,id="id"-thread-select
command but is emitted whenever an MI command that is not documented
to change the selected thread actually changes it. In particular,
invoking, directly or indirectly (via user-defined command), the CLI
thread command, will generate this notification.
We suggest that in response to this notification, front ends
highlight the selected thread and cause subsequent commands to apply to
that thread.
=library-loaded,...=library-unloaded,...=library-loaded notification