aboutsummaryrefslogtreecommitdiff
path: root/gdb/observable.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/observable.c')
-rw-r--r--gdb/observable.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/observable.c b/gdb/observable.c
index cc1b01d..1233a19 100644
--- a/gdb/observable.c
+++ b/gdb/observable.c
@@ -1,6 +1,6 @@
/* GDB Notifications to Observers.
- Copyright (C) 2003-2024 Free Software Foundation, Inc.
+ Copyright (C) 2003-2025 Free Software Foundation, Inc.
This file is part of GDB.
@@ -87,9 +87,7 @@ show_observer_debug (struct ui_file *file, int from_tty,
gdb_printf (file, _("Observer debugging is %s.\n"), value);
}
-void _initialize_observer ();
-void
-_initialize_observer ()
+INIT_GDB_FILE (observer)
{
add_setshow_boolean_cmd ("observer", class_maintenance,
&gdb::observers::observer_debug, _("\