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?