windows: automatically log gdb output