call to ...
(add_inferior_silent): ... here.
+2009-05-06 Pedro Alves <pedro@codesourcery.com>
+
+ * inferior.c (add_inferior): Move observer_notify_new_inferior
+ call to ...
+ (add_inferior_silent): ... here.
+
2009-05-06 Pierre Muller <muller.u-strasbg.fr>
Pedro Alves <pedro@codesourcery.com>
inf->next = inferior_list;
inferior_list = inf;
+ observer_notify_new_inferior (pid);
+
return inf;
}
{
struct inferior *inf = add_inferior_silent (pid);
- observer_notify_new_inferior (pid);
-
if (print_inferior_events)
printf_unfiltered (_("[New inferior %d]\n"), pid);