This class contains CPU status. More...
#include <CExecutionController.h>
Public Member Functions | |
| uint8_t | getExecutionArea () |
| Returns memory area of the current execution address. | |
| ADDRESS_64 | getExecutionPoint () |
| Returns current execution address, which is value of program counter register. | |
| void | getMSID (SMSID &rsmsid) |
| Returns current execution point MSID. | |
| bool | isAttach () |
| Returns true if debugger is initialized and waiting for hot attach on the target. | |
| bool | isHalted () |
| Returns true if CPU is halted by target. | |
| bool | isIdle () |
| Returns true if CPU is idle. | |
| bool | isMustInit () |
| Returns true if the debug system must initialize. | |
| bool | isReset () |
| Returns true if CPU is held in reset. | |
| bool | isRunning () |
| Returns true if CPU is running. | |
| bool | isStopped () |
| Returns true if CPU is stopped. | |
| bool | isStopReasonBP () |
| Returns true if CPU is in stopped state, and was stopped due to execution BP hit. | |
| bool | isStopReasonExplicit () |
| Returns true if CPU is in stopped state, and was stopped explicitly by the user. | |
| bool | isStopReasonHW () |
| Returns true if CPU is in stopped state, and was stopped after a hardware breakpoint hit. | |
| bool | isStopReasonStep () |
| Returns true if CPU is in stopped state, and was stopped CPU is stopped after a step/over/until/until return command. | |
| bool | isWaiting () |
| Returns true if CPU is halted by debugger. | |
| std::string | toString () |
| Returns human readable contents of the object. | |
This class contains CPU status.
It is not intended to be instantiated by clients.
Note: Due to hardware restrictions, the stop reason is not always reliable on all architectures (methods isStopReason...()).
| uint8_t isys::CPUStatus::getExecutionArea | ( | ) |
Returns memory area of the current execution address.
It is specific to each architecture. See MemArea.h as a reference.
Python example: test_get_cpustatus.py
| ADDRESS_64 isys::CPUStatus::getExecutionPoint | ( | ) |
Returns current execution address, which is value of program counter register.
Python example: test_get_cpustatus.py
| void isys::CPUStatus::getMSID | ( | SMSID & | rsmsid | ) |
Returns current execution point MSID.
Valid when in stopped state.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isAttach | ( | ) |
Returns true if debugger is initialized and waiting for hot attach on the target.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isHalted | ( | ) |
Returns true if CPU is halted by target.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isIdle | ( | ) |
Returns true if CPU is idle.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isMustInit | ( | ) |
Returns true if the debug system must initialize.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isReset | ( | ) |
Returns true if CPU is held in reset.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isRunning | ( | ) |
Returns true if CPU is running.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isStopped | ( | ) |
Returns true if CPU is stopped.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isStopReasonBP | ( | ) |
Returns true if CPU is in stopped state, and was stopped due to execution BP hit.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isStopReasonExplicit | ( | ) |
Returns true if CPU is in stopped state, and was stopped explicitly by the user.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isStopReasonHW | ( | ) |
Returns true if CPU is in stopped state, and was stopped after a hardware breakpoint hit.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isStopReasonStep | ( | ) |
Returns true if CPU is in stopped state, and was stopped CPU is stopped after a step/over/until/until return command.
Python example: test_get_cpustatus.py
| bool isys::CPUStatus::isWaiting | ( | ) |
Returns true if CPU is halted by debugger.
Python example: test_get_cpustatus.py