ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
GDBCore.cpp
Go to the documentation of this file.
1 
54 
55 using namespace etiss::plugin::gdb;
56 
58 std::string GDBCore::mapRegister(unsigned index)
59 {
60  return "";
61 }
62 unsigned GDBCore::mapRegister(std::string name)
63 {
64  return INVALIDMAPPING;
65 }
67 {
68  return 0;
69 }
71 {
72  return false;
73 }
75 {
76  return cpu->instructionPointer;
77 }
etiss_uint64 uint64
Definition: 386-GCC.h:82
static const unsigned INVALIDMAPPING
Definition: GDBCore.h:107
virtual etiss::uint64 getInstructionPointer(ETISS_CPU *cpu)
allows to calculate the index of the instruction to be executed for breakpoint checks.
Definition: GDBCore.cpp:74
virtual unsigned mappedRegisterCount()
returns the number of registers in the gdb defined register list
Definition: GDBCore.cpp:66
virtual std::string mapRegister(unsigned index)
the returned string identifies the register at the given index as defined by gdb.
Definition: GDBCore.cpp:58
virtual bool isLittleEndian()
returns true if the values are expected to be little endian
Definition: GDBCore.cpp:70
basic cpu state structure needed for execution of any cpu architecture.
Definition: CPU.h:89
etiss_uint64 instructionPointer
pointer to next instruction.
Definition: CPU.h:92