This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 02/08] multi-process support: all targets manage inferior list


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]