How do I get GDB to break out of a loop?
break, c, gdb, goto
Solution
`jump` looks like what you want. See Continuing at a Different Address
Problem
I can tell GDB to return from a function immediately with `return`, and call a function with `call myFunction`. But how do I get it break out of the current loop? i.e. to act as if it's hit a `break;` statement. Is `jump myfile.c:<linenumber>` the way to do this?