[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
14. Altering Execution
Once you think you have found an error in your program, you might want to find out for certain whether correcting the apparent error would lead to correct results in the rest of the run. You can find the answer by experiment, using the No value for GDBN features for altering execution of the program.
For example, you can store new values into variables or memory locations, give your program a signal, restart it at a different address, or even return prematurely from a function.
14.1 Assignment to Variables | Assignment to variables | |
14.2 Continuing at a Different Address | Continuing at a different address | |
14.3 Giving your Program a Signal | Giving your program a signal | |
14.4 Returning from a Function | Returning from a function | |
14.5 Calling Program Functions | Calling your program's functions | |
14.6 Patching Programs | Patching your program |