This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: --multi support for Windows targets (Re: [rfc] Multiple process support in gdbserver)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 14 Feb 2008 16:15:31 -0500
- Subject: Re: --multi support for Windows targets (Re: [rfc] Multiple process support in gdbserver)
- References: <20071207212352.GB32256@caradoc.them.org> <4797EEC9.10100@portugalmail.pt> <20080130005147.GA25780@caradoc.them.org> <200802142108.55820.pedro_alves@portugalmail.pt>
On Thu, Feb 14, 2008 at 09:08:55PM +0000, Pedro Alves wrote:
> A Wednesday 30 January 2008 00:51:47, Daniel Jacobowitz wrote:
> > On Thu, Jan 24, 2008 at 01:50:01AM +0000, Pedro Alves wrote:
>
> > > In addition to that, this almost works on Windows targets, we just
> > > need to clean up the state when the inferiors are detached or
> > > killed, like you're doing on linux. If you prefer, I can post a
> > > patch once this goes in.
> >
> > Great! Yes, please do.
>
> Here it is. Basically, it's just clearing state and freeing heap
> objects, since without --multi we didn't care much. Tested on
> i686-pc-cygwin with a local gdbserver, no regressions. Without
> this patch, --multi will only work the first run, the following
> runs trip on variables with garbage on them.
Looks OK to me.
--
Daniel Jacobowitz
CodeSourcery