I think how gdb works on Windows under mingw? When compile with mingw C into .exe, it creates PE file, right (so Windows can run it).
But then you want debug the .exe with gdb. This gdb knows to debug PE file? How? Does it read debug info from PE file? Is it Dwarf debug info or something else?