aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-20 14:02:28 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-30 15:07:26 -0400
commitd6bd2ef5f4c2027a68810f4a9dbe871b61e819ab (patch)
tree28be60b8ea2a22e80e492ce3bf329ee3c7261954 /gdb/interps.c
parent8782926771b1212acb90b944f7402466c998d592 (diff)
downloadgdb-d6bd2ef5f4c2027a68810f4a9dbe871b61e819ab.zip
gdb-d6bd2ef5f4c2027a68810f4a9dbe871b61e819ab.tar.gz
gdb-d6bd2ef5f4c2027a68810f4a9dbe871b61e819ab.tar.bz2
gdb: add interp::on_signal_exited method
Same as previous patch, but for signal_exited. Remove the signal_exited observable, since nothing uses it anymore, and we don't have anything coming that will use it. Change-Id: I0dca1eab76338bf27be755786e3dad3241698b10
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index 80160bc..566b5e1 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -409,6 +409,14 @@ interps_notify_signal_received (gdb_signal sig)
/* See interps.h. */
void
+interps_notify_signal_exited (gdb_signal sig)
+{
+ interps_notify (&interp::on_signal_exited, sig);
+}
+
+/* See interps.h. */
+
+void
interps_notify_normal_stop (bpstat *bs, int print_frame)
{
interps_notify (&interp::on_normal_stop, bs, print_frame);