aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-21 09:45:30 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-30 15:07:26 -0400
commit7603ea6afa41382cefeab1e1c85f74a588fcc6ab (patch)
tree8b3c674a482bc64bd97616a8d8cc85b0a08b3aea /gdb/interps.h
parentd711fe3b0f31daefa09b5d45b647da1f688c0e96 (diff)
downloadgdb-7603ea6afa41382cefeab1e1c85f74a588fcc6ab.zip
gdb-7603ea6afa41382cefeab1e1c85f74a588fcc6ab.tar.gz
gdb-7603ea6afa41382cefeab1e1c85f74a588fcc6ab.tar.bz2
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
Diffstat (limited to 'gdb/interps.h')
-rw-r--r--gdb/interps.h4
1 files changed, 4 insertions, 0 deletions
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;