gem5
|
#include <remote_gdb.hh>
Public Member Functions | |
char * | data () const |
size_t | size () const |
void | getRegs (ThreadContext *) |
void | setRegs (ThreadContext *) const |
const std::string | name () const |
Private Attributes | |
struct { | |
uint32_t gpr [32] | |
uint32_t hole [32] | |
uint32_t y | |
uint32_t psr | |
uint32_t wim | |
uint32_t tbr | |
uint32_t pc | |
uint32_t npc | |
uint32_t fsr | |
uint32_t csr | |
} | r |
Definition at line 51 of file remote_gdb.hh.
|
inline |
Definition at line 68 of file remote_gdb.hh.
References r.
void RemoteGDB::SPARCGdbRegCache::getRegs | ( | ThreadContext * | context | ) |
Definition at line 180 of file remote_gdb.cc.
References DPRINTF, htobe(), ArmISA::i, SparcISA::MISCREG_FSR, SparcISA::MISCREG_PSTATE, GenericISA::SimplePCState< MachInst >::npc(), SparcISA::NumIntArchRegs, pc, GenericISA::SimplePCState< MachInst >::pc(), ThreadContext::pcState(), r, ThreadContext::readIntReg(), and ThreadContext::readMiscReg().
|
inline |
Definition at line 72 of file remote_gdb.hh.
void RemoteGDB::SPARCGdbRegCache::setRegs | ( | ThreadContext * | context | ) | const |
Definition at line 215 of file remote_gdb.cc.
References ArmISA::i, GenericISA::DelaySlotPCState< MachInst >::nnpc(), GenericISA::SimplePCState< MachInst >::npc(), GenericISA::DelaySlotUPCState< MachInst >::nupc(), pc, GenericISA::SimplePCState< MachInst >::pc(), ThreadContext::pcState(), MipsISA::r, ThreadContext::setIntReg(), and GenericISA::DelaySlotUPCState< MachInst >::upc().
|
inline |
Definition at line 69 of file remote_gdb.hh.
References r.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::csr |
Definition at line 65 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::fsr |
Definition at line 64 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::gpr[32] |
Definition at line 56 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::hole[32] |
Definition at line 57 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::npc |
Definition at line 63 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::pc |
Definition at line 62 of file remote_gdb.hh.
Referenced by getRegs().
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::psr |
Definition at line 59 of file remote_gdb.hh.
struct { ... } SparcISA::RemoteGDB::SPARCGdbRegCache::r |
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::tbr |
Definition at line 61 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::wim |
Definition at line 60 of file remote_gdb.hh.
uint32_t SparcISA::RemoteGDB::SPARCGdbRegCache::y |
Definition at line 58 of file remote_gdb.hh.