/* Observers
- Copyright (C) 2016-2021 Free Software Foundation, Inc.
+ Copyright (C) 2016-2022 Free Software Foundation, Inc.
This file is part of GDB.
struct thread_info;
struct inferior;
struct process_stratum_target;
+struct target_ops;
struct trace_state_variable;
namespace gdb
extern observable<user_selected_what /* selection */>
user_selected_context_changed;
-/* This is notified when the source styling setting has changed and
- should be reconsulted. */
-extern observable<> source_styling_changed;
+/* This is notified when a styling setting has changed, content may need
+ to be updated based on the new settings. */
+extern observable<> styling_changed;
/* The CLI's notion of the current source has changed. This differs
from user_selected_context_changed in that it is also set by the
/* Called when GDB is about to exit. */
extern observable<int> gdb_exiting;
+/* When a connection is removed. */
+extern observable<process_stratum_target */* target */> connection_removed;
+
+/* About to enter target_wait (). */
+extern observable <ptid_t /* ptid */> target_pre_wait;
+
+/* About to leave target_wait (). */
+extern observable <ptid_t /* event_ptid */> target_post_wait;
+
} /* namespace observers */
} /* namespace gdb */