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 | c27ec5c09f3b94704688845e78861977d9bd4d71 (patch) | |
tree | a09c10ebdf6d178ed7417ac11c8a400f1bf488ef /gdb/interps.c | |
parent | f0dffaff4ffc53838bfcc622e65523d144fca37e (diff) | |
download | gdb-c27ec5c09f3b94704688845e78861977d9bd4d71.zip gdb-c27ec5c09f3b94704688845e78861977d9bd4d71.tar.gz gdb-c27ec5c09f3b94704688845e78861977d9bd4d71.tar.bz2 |
gdb: add interp::on_tsv_modified method
Same idea as previous patches, but for tsv_modified.
Change-Id: I55454a2386d5450040b3a353909b26f389a43682
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index c8d4fbd..c727913 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -551,6 +551,14 @@ interps_notify_tsv_deleted (const trace_state_variable *tsv) interps_notify (&interp::on_tsv_deleted, tsv); } +/* See interps.h. */ + +void +interps_notify_tsv_modified (const trace_state_variable *tsv) +{ + interps_notify (&interp::on_tsv_modified, tsv); +} + /* This just adds the "interpreter-exec" command. */ void _initialize_interpreter (); void |