From c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 20 Apr 2023 15:47:59 -0400 Subject: 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 --- gdb/interps.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/interps.h') 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; -- cgit v1.1