mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +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:
@ -963,5 +963,5 @@ _initialize_inflow ()
|
||||
/* OK, figure out whether we have job control. */
|
||||
have_job_control ();
|
||||
|
||||
gdb::observers::inferior_exit.attach (inflow_inferior_exit);
|
||||
gdb::observers::inferior_exit.attach (inflow_inferior_exit, "inflow");
|
||||
}
|
||||
|
Reference in New Issue
Block a user