gdb: add interp::on_solib_unloaded method

Same idea as previous patches, but for solib_unloaded.

Change-Id: Iad847de93f0b38b5c90679a173d3beeaed7af6c5
This commit is contained in:
Simon Marchi
2023-04-21 09:45:30 -04:00
parent f648548100
commit d711fe3b0f
5 changed files with 39 additions and 28 deletions

View File

@@ -519,6 +519,14 @@ interps_notify_solib_loaded (so_list *so)
interps_notify (&interp::on_solib_loaded, so);
}
/* See interps.h. */
void
interps_notify_solib_unloaded (so_list *so)
{
interps_notify (&interp::on_solib_unloaded, so);
}
/* This just adds the "interpreter-exec" command. */
void _initialize_interpreter ();
void