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
To find the infinite loop, you could try stepping through the execution until you get to a sequence that repeats indefinitely.
I'm not sure, but I think Ctrl-C should only stop the execution, not gdb itself...
I think there is a "handle" command that you can use to control how the interrupt signal is handled.