Support for DWARF5 location lists entries
[deliverable/binutils-gdb.git] / gdb / observable.c
index c077b025932664a0a381c71a1f2a6bffe988b750..81aa392cc21fe8fad8d86f422e53fae24aa25c4a 100644 (file)
@@ -1,6 +1,6 @@
 /* GDB Notifications to Observers.
 
-   Copyright (C) 2003-2019 Free Software Foundation, Inc.
+   Copyright (C) 2003-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -75,6 +75,7 @@ DEFINE_OBSERVABLE (inferior_call_post);
 DEFINE_OBSERVABLE (register_changed);
 DEFINE_OBSERVABLE (user_selected_context_changed);
 DEFINE_OBSERVABLE (source_styling_changed);
+DEFINE_OBSERVABLE (current_source_symtab_and_line_changed);
 
 } /* namespace observers */
 } /* namespace gdb */
@@ -86,8 +87,9 @@ show_observer_debug (struct ui_file *file, int from_tty,
   fprintf_filtered (file, _("Observer debugging is %s.\n"), value);
 }
 
+void _initialize_observer ();
 void
-_initialize_observer (void)
+_initialize_observer ()
 {
   add_setshow_zuinteger_cmd ("observer", class_maintenance,
                             &gdb::observers::observer_debug, _("\
This page took 0.023836 seconds and 4 git commands to generate.