-
Notifications
You must be signed in to change notification settings - Fork 5
gdbMann_Execution Modes (runMode)
The runMode defines the behaviour of the GDBManipulator each mode can be executed an create a result of its execution
One example of a runMode it the “testMode”. Its intention is it to drive the test execution on the target. It generates as result a string that contains the test result as well information about the program execution Create new Modes
To create new runMode it is necessary to extend the ABC “runMode” with its function
void executeMode() ;
and
string analyseResult();
To switch between the different modes the GDBManipulator can be called with the argument "-mode " or "—runMode " To add a new mode it is necessary to adjust the callback function “callBackRunMode” in utils/argumentCallBackFunctions.cpp and adjust the argument parser at the end of the file. Is this done the runMode can be created as required in the main.cpp file corresponding the value of “runModeSetting”.