I just press CTRL+C to temporarily stop the GDB if I suspect that my
program has gone into infinite loop.  If it hasn't, I just continue it
with the `continue' command.  Sometimes I also insert software
breakpoint instructions to the code to make the GDB stop whenever the
program is doing something I do not want it to do.

Why would you want to stop the program automatically on infinite loops? 

Toni Ronkko

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to