124 #include <sys/signal.h> 130 #include "arch/vtophys.hh" 137 #include "debug/GDBAcc.hh" 138 #include "debug/GDBRead.hh" 151 :
BaseRemoteGDB(_system, c, _port), regCache32(this), regCache64(this)
177 DPRINTF(GDBAcc,
"getRegs in remotegdb \n");
184 r.psr =
htobe((uint32_t)pstate);
192 DPRINTF(GDBAcc,
"getRegs in remotegdb \n");
194 for (
int i = 0;
i < 32;
i++)
r.fpr[
i] = 0;
virtual TheISA::PCState pcState() const =0
virtual RegVal readIntReg(RegIndex reg_idx) const =0
void getRegs(ThreadContext *)
Fill the raw buffer from the registers in the ThreadContext.
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
virtual Process * getProcessPtr()=0
Overload hash function for BasicBlockRange type.
void setRegs(ThreadContext *) const
Set the ThreadContext's registers from the values in the raw buffer.
ThreadContext is the external interface to all thread state for anything outside of the CPU...
SPARCGdbRegCache regCache32
BaseGdbRegCache * gdbRegs()
Concrete subclasses of this abstract class represent how the register values are transmitted on the w...
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Ancillary State Registers.
ThreadContext * context()
bool acc(Addr addr, size_t len)
EmulationPageTable * pTable
Declarations of a non-full system Page Table.
SPARC64GdbRegCache regCache64
const Entry * lookup(Addr vaddr)
Lookup function.
void getRegs(ThreadContext *)
Fill the raw buffer from the registers in the ThreadContext.
virtual RegVal readMiscReg(RegIndex misc_reg)=0
void setRegs(ThreadContext *) const
Set the ThreadContext's registers from the values in the raw buffer.
Floating Point Status Register.