OpenASIP
2.0
|
#include <BPCommand.hh>
Additional Inherited Members | |
Protected Member Functions inherited from SimControlLanguageCommand | |
bool | setMemoryAddress (const std::string &addressString, std::string &addressSpaceName, std::size_t &memoryAddress) |
bool | setMemoryPointer (MemorySystem::MemoryPtr &memory, const std::string &addressSpaceName) |
Implementation of the "bp" command of the Simulator Control Language.
Definition at line 47 of file BPCommand.hh.
BPCommand::BPCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 48 of file BPCommand.cc.
|
virtual |
|
virtual |
Executes the "bp" command.
A breakpoint stops the simulation whenever the Simulator reaches a certain point in the program. It is possible to add a condition to a breakpoint, to control when the Simulator must stop with increased precision.
arguments | The address (and condition of the breakpoint). |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 72 of file BPCommand.cc.
References StopPointManager::add(), SimControlLanguageCommand::parseBreakpoint(), SimControlLanguageCommand::printBreakpointInfo(), SimControlLanguageCommand::simulatorFrontend(), and SimulatorFrontend::stopPointManager().
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 92 of file BPCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_BREAK.