i686-w64-mingw32-emerge gdb -p
$ tar -xvf gdb-7.4.tar.bz2
$ cd gdb-7.4
$ ./configure --build=x86_64-pc-linux-gnu --target=i686-pc-mingw32 --host=i686-pc-mingw32
$ make $ wine gdb/gdbserver/gdbserver.exe localhost:2000 projects/win32/win32.exe $ gdb target remote localhost:2000