diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-21 09:45:30 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-30 15:07:26 -0400 |
commit | 52d98df7420fa7442befa23cfee28187ed8077ee (patch) | |
tree | eea428654917be1e2fd68db8a3377ca32578ff58 /gdb/interps.h | |
parent | 44fbffc69d68e35f0e0bdbe8f6f186dc79924d11 (diff) | |
download | binutils-52d98df7420fa7442befa23cfee28187ed8077ee.zip binutils-52d98df7420fa7442befa23cfee28187ed8077ee.tar.gz binutils-52d98df7420fa7442befa23cfee28187ed8077ee.tar.bz2 |
gdb: add interp::on_target_resumed method
Same idea as previous patches, but for target_resumed.
Change-Id: I66fa28d1d41a1f3c4fb0d6a470137d493eac3c8c
Diffstat (limited to 'gdb/interps.h')
-rw-r--r-- | gdb/interps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/interps.h b/gdb/interps.h index be3d6d9..0434efe 100644 --- a/gdb/interps.h +++ b/gdb/interps.h @@ -139,6 +139,9 @@ public: virtual void on_record_changed (inferior *inf, int started, const char *method, const char *format) {} + /* Notify the interpreter that the target was resumed. */ + virtual void on_target_resumed (ptid_t ptid) {} + private: /* The memory for this is static, it comes from literal strings (e.g. "cli"). */ const char *m_name; @@ -281,6 +284,9 @@ extern void interps_notify_record_changed (inferior *inf, int started, const char *method, const char *format); +/* Notify all interpreters that the target was resumed. */ +extern void interps_notify_target_resumed (ptid_t ptid); + /* well-known interpreters */ #define INTERP_CONSOLE "console" #define INTERP_MI2 "mi2" |