X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fobservable.h;h=796bf2a43c60572c42325d4cfcc54063e6fb963b;hb=ef186fe54aa6d281a3ff8a9528417e5cc614c797;hp=1de746a691e9f82a613eb0b52e62a402b287ba84;hpb=313f3b21cbcd3475c2fc6030abb26e6c8346d03b;p=binutils-gdb.git diff --git a/gdb/observable.h b/gdb/observable.h index 1de746a691e..796bf2a43c6 100644 --- a/gdb/observable.h +++ b/gdb/observable.h @@ -1,6 +1,6 @@ /* Observers - Copyright (C) 2016-2021 Free Software Foundation, Inc. + Copyright (C) 2016-2022 Free Software Foundation, Inc. This file is part of GDB. @@ -28,6 +28,7 @@ struct objfile; struct thread_info; struct inferior; struct process_stratum_target; +struct target_ops; struct trace_state_variable; namespace gdb @@ -241,9 +242,9 @@ extern observable extern observable 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 @@ -253,6 +254,15 @@ extern observable<> current_source_symtab_and_line_changed; /* Called when GDB is about to exit. */ extern observable gdb_exiting; +/* When a connection is removed. */ +extern observable connection_removed; + +/* About to enter target_wait (). */ +extern observable target_pre_wait; + +/* About to leave target_wait (). */ +extern observable target_post_wait; + } /* namespace observers */ } /* namespace gdb */