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 | ec517d1040bf02e15e9724b14df9dba73665883f (patch) | |
tree | 5240d7693ca969a930bcb7df0fb13f1be8de28d0 /gdb/interps.c | |
parent | 3d654fa72d3ab52e3ced87291e41f160544d68b7 (diff) | |
download | gdb-ec517d1040bf02e15e9724b14df9dba73665883f.zip gdb-ec517d1040bf02e15e9724b14df9dba73665883f.tar.gz gdb-ec517d1040bf02e15e9724b14df9dba73665883f.tar.bz2 |
gdb: add interp::on_memory_changed method
Same idea as previous patches, but for memory_changed.
Change-Id: Ic19f20c24d8a6431d4a89c5625e8ef4898f76e82
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index 3cb89b1..f665e86 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -591,6 +591,15 @@ interps_notify_param_changed (const char *param, const char *value) interps_notify (&interp::on_param_changed, param, value); } +/* See interps.h. */ + +void +interps_notify_memory_changed (inferior *inf, CORE_ADDR addr, ssize_t len, + const bfd_byte *data) +{ + interps_notify (&interp::on_memory_changed, inf, addr, len, data); +} + /* This just adds the "interpreter-exec" command. */ void _initialize_interpreter (); void |