--multi support for Windows targets (Re: [rfc] Multiple process support in gdbserver)
Pedro Alves
pedro_alves@portugalmail.pt
Thu Feb 14 21:09:00 GMT 2008
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.
--
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32_gdbserver_multi_process.diff
Type: text/x-diff
Size: 5525 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080214/42e4a93d/attachment.bin>
More information about the Gdb-patches
mailing list