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: --multi support for Windows targets (Re: [rfc] Multiple process support in gdbserver)


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


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