From 7603ea6afa41382cefeab1e1c85f74a588fcc6ab Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 21 Apr 2023 09:45:30 -0400 Subject: gdb: add interp::on_about_to_proceed method Same idea as previous patches, but for about_to_proceed. We only need (and want, as far as the mi_interp implementation is concerned) to notify the interpreter that caused the proceed. Change-Id: Id259bca10dbc3d43d46607ff7b95243a9cbe2f89 --- 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 3339ae3..a88c405 100644 --- a/gdb/interps.h +++ b/gdb/interps.h @@ -149,6 +149,10 @@ public: /* Notify the interpreter that solib SO has been unloaded. */ virtual void on_solib_unloaded (so_list *so) {} + /* Notify the interpreter that a command it is executing is about to cause + the inferior to proceed. */ + virtual void on_about_to_proceed () {} + private: /* The memory for this is static, it comes from literal strings (e.g. "cli"). */ const char *m_name; -- cgit v1.1