gdb: add interp::on_new_thread method

Same idea as previous patches, but for new_thread.

Change-Id: Ib70ae3421b736fd69d86c4e7c708bec349aa256c
This commit is contained in:
Simon Marchi
2023-04-21 09:45:30 -04:00
parent 77cd03e27c
commit 30e7e0a917
5 changed files with 34 additions and 19 deletions

View File

@@ -446,6 +446,14 @@ interps_notify_user_selected_context_changed (user_selected_what selection)
interps_notify (&interp::on_user_selected_context_changed, selection);
}
/* See interps.h. */
void
interps_notify_new_thread (thread_info *t)
{
interps_notify (&interp::on_new_thread, t);
}
/* This just adds the "interpreter-exec" command. */
void _initialize_interpreter ();
void