aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-break.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-cmd-break.c')
-rw-r--r--gdb/mi/mi-cmd-break.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 5a4a62c..1b7eaf5 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -84,7 +84,8 @@ setup_breakpoint_reporting (void)
{
if (! mi_breakpoint_observers_installed)
{
- gdb::observers::breakpoint_created.attach (breakpoint_notify);
+ gdb::observers::breakpoint_created.attach (breakpoint_notify,
+ "mi-cmd-break");
mi_breakpoint_observers_installed = 1;
}