diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-22 17:22:39 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-22 17:22:39 +0200 |
commit | 1194676e0be8d28a2ed631fe2b8d560409240ff0 (patch) | |
tree | 8119152d35720a051ef56d12f4971f822fb92910 /gdb/continuations.h | |
parent | 35682f0a64145893cb1f3c0f6df0cfec7330b823 (diff) | |
download | gdb-1194676e0be8d28a2ed631fe2b8d560409240ff0.zip gdb-1194676e0be8d28a2ed631fe2b8d560409240ff0.tar.gz gdb-1194676e0be8d28a2ed631fe2b8d560409240ff0.tar.bz2 |
gdb/continuations: do minor cleanup
Inferior continuations are no longer used by the until and finish
command. It is used only by the attach command and the remote target
upon detecting new inferiors. Update the comment accordingly.
Also update another comment about non-existent thread continuations and
remove an unused #include.
gdb/ChangeLog:
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".
Diffstat (limited to 'gdb/continuations.h')
-rw-r--r-- | gdb/continuations.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/continuations.h b/gdb/continuations.h index 7ebe82a..39130c6 100644 --- a/gdb/continuations.h +++ b/gdb/continuations.h @@ -25,8 +25,8 @@ struct inferior; /* 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 |