mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
gdb: add interp::on_breakpoint_created method
Same idea as previous patches, but for breakpoint_created. Change-Id: I614113c924edc243590018b8fb3bf69cb62215ef
This commit is contained in:
@@ -166,6 +166,9 @@ public:
|
||||
/* Notify the interpreter that trace state variable TSV was modified. */
|
||||
virtual void on_tsv_modified (const trace_state_variable *tsv) {}
|
||||
|
||||
/* Notify the interpreter that breakpoint B was created. */
|
||||
virtual void on_breakpoint_created (breakpoint *b) {}
|
||||
|
||||
private:
|
||||
/* The memory for this is static, it comes from literal strings (e.g. "cli"). */
|
||||
const char *m_name;
|
||||
@@ -335,6 +338,9 @@ extern void interps_notify_tsv_deleted (const trace_state_variable *tsv);
|
||||
/* Notify all interpreters that trace state variable TSV was modified. */
|
||||
extern void interps_notify_tsv_modified (const trace_state_variable *tsv);
|
||||
|
||||
/* Notify all interpreters that breakpoint B was created. */
|
||||
extern void interps_notify_breakpoint_created (breakpoint *b);
|
||||
|
||||
/* well-known interpreters */
|
||||
#define INTERP_CONSOLE "console"
|
||||
#define INTERP_MI2 "mi2"
|
||||
|
||||
Reference in New Issue
Block a user