diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-20 15:47:59 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-30 15:07:26 -0400 |
commit | c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6 (patch) | |
tree | 0022bf493c246e39ead67332820e9f609b39bcdd /gdb/interps.h | |
parent | 2e5dbfab563c58b9be34d168e8aaa24878aab38c (diff) | |
download | gdb-c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6.zip gdb-c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6.tar.gz gdb-c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6.tar.bz2 |
gdb: add interp::on_sync_execution_done method
Same as previous patches, but for sync_execution_done. Except that
here, we only want to notify the interpreter that is executing the
command, not all interpreters.
Change-Id: I729c719447b5c5f29af65dbf6fed9132e2cd308b
Diffstat (limited to 'gdb/interps.h')
-rw-r--r-- | gdb/interps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/interps.h b/gdb/interps.h index 915a5f7..349ffb1 100644 --- a/gdb/interps.h +++ b/gdb/interps.h @@ -102,6 +102,10 @@ public: execution because there is no more history. */ virtual void on_no_history () {} + /* Notify the interpreter that a synchronous command it started has + finished. */ + virtual void on_sync_execution_done () {} + private: /* The memory for this is static, it comes from literal strings (e.g. "cli"). */ const char *m_name; |