Go to the documentation of this file.
36 #define DEBUG_REMOTE_DEBUGGER_CONTROLLER
37 #ifdef DEBUG_REMOTE_DEBUGGER_CONTROLLER
39 #define _DPRINT(...) printf(__VA_ARGS__)
40 #define _WHERE() printf("%s:%d - %s\n", __FILE__, __LINE__, __func__)
53 imemImage(std::ostringstream::binary) {
64 std::string programName(
"the program");
77 tmap[programName] = binary;
void generateProgramImage(const std::string &programName, std::ostream &stream, OutputFormat format, int mausPerLine=0)
virtual void writeIMem(const char *data, int size)=0
virtual void loadIMemImage()
void loadBEM(const BinaryEncoding &bem)
std::set< InstructionAddress > exitPoints
TTAMachine::Machine * machine
the architecture definition of the estimated processor
void loadPrograms(TPEFMap programs)
void loadMachine(const TTAMachine::Machine &machine)
virtual std::set< InstructionAddress > findProgramExitPoints(const TTAProgram::Program &program, const TTAMachine::Machine &machine) const
const TTAMachine::Machine & sourceMachine_
The simulated Machine Object Model.
@ BINARY
Real binary format.
std::ostringstream imemImage
find Finds info of the inner loops in the program
TPEF::Binary * createBinary() const
const TTAProgram::Program & program_
Program object model of the simulated program.
std::map< std::string, TPEF::Binary * > TPEFMap
BinaryEncoding * generate()
RemoteController(SimulatorFrontend &frontend, const TTAMachine::Machine &machine, const TTAProgram::Program &program)