This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 02/08] multi-process support: all targets manage inferior list
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Sep 2008 18:51:18 -0400
- Subject: Re: [RFA 02/08] multi-process support: all targets manage inferior list
- References: <200809121638.18399.pedro@codesourcery.com>
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