diff options
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r-- | gdb/annotate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index c1d4229..55db2e2 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -1,5 +1,5 @@ /* Annotation routines for GDB. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -627,9 +627,7 @@ breakpoint_changed (struct breakpoint *b) annotate_breakpoints_invalid (); } -void _initialize_annotate (); -void -_initialize_annotate () +INIT_GDB_FILE (annotate) { gdb::observers::breakpoint_created.attach (breakpoint_changed, "annotate"); gdb::observers::breakpoint_deleted.attach (breakpoint_changed, "annotate"); |