mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
gdbsupport, gdb: give names to observers
Give a name to each observer, this will help produce more meaningful debug message. gdbsupport/ChangeLog: * observable.h (class observable) <struct observer> <observer>: Add name parameter. <name>: New field. <attach>: Add name parameter, update all callers. Change-Id: Ie0cc4664925215b8d2b09e026011b7803549fba0
This commit is contained in:
@ -3186,7 +3186,8 @@ _initialize_printcmd ()
|
||||
|
||||
current_display_number = -1;
|
||||
|
||||
gdb::observers::free_objfile.attach (clear_dangling_display_expressions);
|
||||
gdb::observers::free_objfile.attach (clear_dangling_display_expressions,
|
||||
"printcmd");
|
||||
|
||||
add_info ("address", info_address_command,
|
||||
_("Describe where symbol SYM is stored.\n\
|
||||
|
Reference in New Issue
Block a user