
for targets capable of execution, these functions provide the mechanisms to start and stop execution.
to_resume. Function to tell the target to
start running again (or for the first time).
to_wait. Function to wait for the target to
return control to the debugger. Typically control returns when
the target finishes execution or hits a breakpoint. It could
also occur if the connection is interrupted (for example by
ctrl-C).
to_stop. Function to stop the
target—used whenever the target is to be interrupted (for
example by ctrl-C).
to_kill. Kill the connection to the
target. This should work, even if the connection to the target
is broken.
to_create_inferior. For targets which can
execute, this initializes a program to run, ready for it to
start executing. It is invoked by the GDB
run command, which will subsequently call
to_resume to start execution.
to_mourn_inferior. Tidy up after execution
of the target has finished (for example after it has exited or
been killed). Most implementations call the generic function,
generic_mourn_inferior, but may do some
additional tidying up.
