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 | 44fbffc69d68e35f0e0bdbe8f6f186dc79924d11 (patch) | |
tree | 71121fe533060c428bb1f2c521f5dfd00380f50f /gdb/record-btrace.c | |
parent | 2646bfa763e890c41474206344e3b02e1648c765 (diff) | |
download | binutils-44fbffc69d68e35f0e0bdbe8f6f186dc79924d11.zip binutils-44fbffc69d68e35f0e0bdbe8f6f186dc79924d11.tar.gz binutils-44fbffc69d68e35f0e0bdbe8f6f186dc79924d11.tar.bz2 |
gdb: add interp::on_record_changed method
Same idea as previous patches, but for record_changed
Change-Id: I5eeeacd703af8401c315060514c94e8e6439cc40
Diffstat (limited to 'gdb/record-btrace.c')
-rw-r--r-- | gdb/record-btrace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 9dd8474..e933a42 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -45,6 +45,7 @@ #include "async-event.h" #include <forward_list> #include "objfiles.h" +#include "interps.h" static const target_info record_btrace_target_info = { "record-btrace", @@ -347,7 +348,7 @@ record_btrace_push_target (void) record_btrace_generating_corefile = 0; format = btrace_format_short_string (record_btrace_conf.format); - gdb::observers::record_changed.notify (current_inferior (), 1, "btrace", format); + interps_notify_record_changed (current_inferior (), 1, "btrace", format); } /* Disable btrace on a set of threads on scope exit. */ |