aboutsummaryrefslogtreecommitdiff
path: root/gdb/record.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-21 09:45:30 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-30 15:07:26 -0400
commit44fbffc69d68e35f0e0bdbe8f6f186dc79924d11 (patch)
tree71121fe533060c428bb1f2c521f5dfd00380f50f /gdb/record.c
parent2646bfa763e890c41474206344e3b02e1648c765 (diff)
downloadgdb-44fbffc69d68e35f0e0bdbe8f6f186dc79924d11.zip
gdb-44fbffc69d68e35f0e0bdbe8f6f186dc79924d11.tar.gz
gdb-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.c')
-rw-r--r--gdb/record.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/record.c b/gdb/record.c
index f7c9515..f7c8266 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -26,6 +26,7 @@
#include "gdbsupport/common-utils.h"
#include "cli/cli-utils.h"
#include "disasm.h"
+#include "interps.h"
#include <ctype.h>
@@ -311,7 +312,7 @@ cmd_record_stop (const char *args, int from_tty)
gdb_printf (_("Process record is stopped and all execution "
"logs are deleted.\n"));
- gdb::observers::record_changed.notify (current_inferior (), 0, NULL, NULL);
+ interps_notify_record_changed (current_inferior (), 0, NULL, NULL);
}