before being able to add the GDB remote proxy code to winedbg, we need first to have some internal restructuration basically, winedbg had two nested loops: - the outter one was in charge of the Win32 debug events - the inner one was in charge of the parsing of commands in order to incorporate the gdb proxy, we need to swap those two loops. this first patch takes care of that. the second one will actually add the gdb proxy code Alexandre, those two patches are not really independant... wine (in fact winedbg) will not compile if only the first is applied... but I thought it was easier to set it that way A+