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
This commit is contained in:
Simon Marchi
2023-04-21 09:45:30 -04:00
parent d711fe3b0f
commit 7603ea6afa
4 changed files with 19 additions and 11 deletions

View File

@@ -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;