Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

gdbMann_Execution Modes (runMode)

Unknown edited this page Jul 1, 2020 · 1 revision

Execution-Modes(runModes)

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”.