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