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
commite4239559f48767a4fe6778017908a96649330be5 (patch)
treef7293614369438d361205e6155169cefe6661bd3 /gdb/interps.c
parente7692320db944fd157978d9be9f18a86abb997b4 (diff)
downloadgdb-e4239559f48767a4fe6778017908a96649330be5.zip
gdb-e4239559f48767a4fe6778017908a96649330be5.tar.gz
gdb-e4239559f48767a4fe6778017908a96649330be5.tar.bz2
gdb: add interp::on_breakpoint_deleted method
Same idea as previous patches, but for breakpoint_deleted. Change-Id: I59c231ce963491bb1eee1432ee1090138f09e19c
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 f8f9751..dc36af6 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -567,6 +567,14 @@ interps_notify_breakpoint_created (breakpoint *b)
interps_notify (&interp::on_breakpoint_created, b);
}
+/* See interps.h. */
+
+void
+interps_notify_breakpoint_deleted (breakpoint *b)
+{
+ interps_notify (&interp::on_breakpoint_deleted, b);
+}
+
/* This just adds the "interpreter-exec" command. */
void _initialize_interpreter ();
void