mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* inferior.c (add_inferior): Move observer_notify_new_inferior
call to ... (add_inferior_silent): ... here.
This commit is contained in:
@@ -84,6 +84,8 @@ add_inferior_silent (int pid)
|
||||
inf->next = inferior_list;
|
||||
inferior_list = inf;
|
||||
|
||||
observer_notify_new_inferior (pid);
|
||||
|
||||
return inf;
|
||||
}
|
||||
|
||||
@@ -92,8 +94,6 @@ add_inferior (int pid)
|
||||
{
|
||||
struct inferior *inf = add_inferior_silent (pid);
|
||||
|
||||
observer_notify_new_inferior (pid);
|
||||
|
||||
if (print_inferior_events)
|
||||
printf_unfiltered (_("[New inferior %d]\n"), pid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user