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
commite7692320db944fd157978d9be9f18a86abb997b4 (patch)
treede4e345dd0090de729d027cfeebd1e22c2147a76 /gdb/interps.c
parentc27ec5c09f3b94704688845e78861977d9bd4d71 (diff)
downloadgdb-e7692320db944fd157978d9be9f18a86abb997b4.zip
gdb-e7692320db944fd157978d9be9f18a86abb997b4.tar.gz
gdb-e7692320db944fd157978d9be9f18a86abb997b4.tar.bz2
gdb: add interp::on_breakpoint_created method
Same idea as previous patches, but for breakpoint_created. Change-Id: I614113c924edc243590018b8fb3bf69cb62215ef
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 c727913..f8f9751 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -559,6 +559,14 @@ interps_notify_tsv_modified (const trace_state_variable *tsv)
interps_notify (&interp::on_tsv_modified, tsv);
}
+/* See interps.h. */
+
+void
+interps_notify_breakpoint_created (breakpoint *b)
+{
+ interps_notify (&interp::on_breakpoint_created, b);
+}
+
/* This just adds the "interpreter-exec" command. */
void _initialize_interpreter ();
void