+2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * continuations.h: Update the general comment.
+ * inferior.h (class inferior) <continuations>: Update the comment.
+ * interps.c: Do not include "continuations.h".
+
2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* continuations.h (do_all_inferior_continuations): Remove the 'err'
/* To continue the execution commands when running gdb asynchronously.
A continuation structure contains a pointer to a function to be called
to finish the command, once the target has stopped. Such mechanism is
- used by the finish and until commands, and in the remote protocol
- when opening an extended-remote connection. */
+ used by the attach command and the remote target when a new inferior
+ is detected. */
/* Prototype of the continuation callback functions. ARG is the
continuation argument registered in the corresponding
bool detaching = false;
/* What is left to do for an execution command after any thread of
- this inferior stops. For continuations associated with a
- specific thread, see `struct thread_info'. */
+ this inferior stops. */
continuation *continuations = NULL;
/* True if setup_inferior wasn't called for this inferior yet.
#include "interps.h"
#include "completer.h"
#include "top.h" /* For command_loop. */
-#include "continuations.h"
#include "main.h"
/* Each UI has its own independent set of interpreters. */