title: In GDB on MinGW, how do I make Ctrl-C stop the program?
body: <p>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 <kbd>Ctrl</kbd> + <kbd>C</kbd>. When I do, both the program and GDB exit. All the help on this subject seems to assume I'm on Linux.</p>