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:
parent
ec098003e2
commit
c90e7d6352
47 changed files with 219 additions and 149 deletions
|
@ -737,7 +737,8 @@ _initialize_solib_aix ()
|
|||
= solib_aix_in_dynsym_resolve_code;
|
||||
solib_aix_so_ops.bfd_open = solib_aix_bfd_open;
|
||||
|
||||
gdb::observers::normal_stop.attach (solib_aix_normal_stop_observer);
|
||||
gdb::observers::normal_stop.attach (solib_aix_normal_stop_observer,
|
||||
"solib-aix");
|
||||
|
||||
/* Debug this file's internals. */
|
||||
add_setshow_boolean_cmd ("aix-solib", class_maintenance,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue