diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-20 14:46:58 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-30 15:07:26 -0400 |
commit | bf64d1d5bf718859b2687a0a011246b9cbbca9e1 (patch) | |
tree | 9f77aeb905a2235897e26355aa1cce894a7c0d6c /gdb/interps.c | |
parent | d6bd2ef5f4c2027a68810f4a9dbe871b61e819ab (diff) | |
download | gdb-bf64d1d5bf718859b2687a0a011246b9cbbca9e1.zip gdb-bf64d1d5bf718859b2687a0a011246b9cbbca9e1.tar.gz gdb-bf64d1d5bf718859b2687a0a011246b9cbbca9e1.tar.bz2 |
gdb: add interp::on_exited method
Same as previous patch, but for exited. Remove the exited observable,
since nothing uses it anymore, and we don't have anything coming that
will use it.
Change-Id: I358cbea0159af56752dfee7510d6a86191e722bb
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 566b5e1..a7fede1 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -422,6 +422,14 @@ interps_notify_normal_stop (bpstat *bs, int print_frame) interps_notify (&interp::on_normal_stop, bs, print_frame); } +/* See interps.h. */ + +void +interps_notify_exited (int status) +{ + interps_notify (&interp::on_exited, status); +} + /* This just adds the "interpreter-exec" command. */ void _initialize_interpreter (); void |