mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
gdb: add interp::on_target_resumed method
Same idea as previous patches, but for target_resumed. Change-Id: I66fa28d1d41a1f3c4fb0d6a470137d493eac3c8c
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user