diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-05-02 11:35:36 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-30 15:07:26 -0400 |
commit | 2646bfa763e890c41474206344e3b02e1648c765 (patch) | |
tree | ab2f68a06346d030d75e50627f64001f9d1ae9f7 /gdb/interps.c | |
parent | d38086cce9ab3d1c0acd48dd89fe5721caa08fed (diff) | |
download | gdb-2646bfa763e890c41474206344e3b02e1648c765.zip gdb-2646bfa763e890c41474206344e3b02e1648c765.tar.gz gdb-2646bfa763e890c41474206344e3b02e1648c765.tar.bz2 |
gdb: add interp::on_inferior_removed method
Same idea as previous patches, but for inferior_removed.
Change-Id: I7971840bbbdcfabf77e2ded7584830c9dfdd10d0
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 46b0ecb..1bcc33c 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -486,6 +486,14 @@ interps_notify_inferior_disappeared (inferior *inf) interps_notify (&interp::on_inferior_disappeared, inf); } +/* See interps.h. */ + +void +interps_notify_inferior_removed (inferior *inf) +{ + interps_notify (&interp::on_inferior_removed, inf); +} + /* This just adds the "interpreter-exec" command. */ void _initialize_interpreter (); void |