Implemented RiscV::getState()
This commit is contained in:
@@ -166,7 +166,7 @@ namespace Targets::RiscV
|
||||
}
|
||||
|
||||
TargetState RiscV::getState() {
|
||||
return TargetState::STOPPED;
|
||||
return this->readStatusRegister().anyRunning ? TargetState::RUNNING : TargetState::STOPPED;
|
||||
}
|
||||
|
||||
TargetMemoryAddress RiscV::getProgramCounter() {
|
||||
|
||||
Reference in New Issue
Block a user