[RFA 02/08] multi-process support: all targets manage inferior list
Daniel Jacobowitz
drow@false.org
Thu Sep 18 22:52:00 GMT 2008
On Fri, Sep 12, 2008 at 04:38:18PM +0100, Pedro Alves wrote:
> @@ -662,6 +662,9 @@ go32_create_inferior (char *exec_file, c
> #endif
>
> inferior_ptid = pid_to_ptid (SOME_PID);
> + add_inferior (SOME_PID);
> + add_thread_silent (inferior_ptid);
> +
> push_target (&go32_ops);
>
> add_thread_silent (inferior_ptid);
Is the new add_thread_silent a typo, or did you mean to remove the
second call?
This looks otherwise OK (though I don't understand when you use
add_inferior vs add_inferior_silent).
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list