gdb: add interp::on_inferior_removed method

Same idea as previous patches, but for inferior_removed.

Change-Id: I7971840bbbdcfabf77e2ded7584830c9dfdd10d0
This commit is contained in:
Simon Marchi
2023-05-02 11:35:36 -04:00
parent d38086cce9
commit 2646bfa763
5 changed files with 31 additions and 19 deletions

View File

@@ -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