aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-21 09:45:30 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-30 15:07:26 -0400
commit8e7af8434581e325366c8ec4a30f33e8e1794310 (patch)
treef2073eea71cd755cc2bc51dc0520e9e5d23a0d3e /gdb/interps.c
parent30e7e0a917b44cbef439cb9c52fa41d21a5f8e44 (diff)
downloadgdb-8e7af8434581e325366c8ec4a30f33e8e1794310.zip
gdb-8e7af8434581e325366c8ec4a30f33e8e1794310.tar.gz
gdb-8e7af8434581e325366c8ec4a30f33e8e1794310.tar.bz2
gdb: add interp::on_thread_exited method
Same idea as previous patches, but for thread_exited. Change-Id: I4be974cbe58cf635453fef503c2d77c82522cbd9
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index 8964845..be11fd8 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -454,6 +454,14 @@ interps_notify_new_thread (thread_info *t)
interps_notify (&interp::on_new_thread, t);
}
+/* See interps.h. */
+
+void
+interps_notify_thread_exited (thread_info *t, int silent)
+{
+ interps_notify (&interp::on_thread_exited, t, silent);
+}
+
/* This just adds the "interpreter-exec" command. */
void _initialize_interpreter ();
void