I\'m on Windows, running GDB on an executable built under MinGW. The program has an infinite loop. I want to find it by hitting Ctrl + C. When I do, both t
As Matthew Talbert pointed out, this happens when GDB built with the native MinGW toolchain is used inside MSYS/Cygwin. Starting GDB with winpty worked like a charm as it's a tool designed just for that. It also worked for cdb.exe.