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 [NumIntArchRegs] | |
uint64_t fpr [NumFloatArchRegs] | |
uint32_t pc | |
uint32_t msr | |
uint32_t cr | |
uint32_t lr | |
uint32_t ctr | |
uint32_t xer | |
} | r |
Definition at line 53 of file remote_gdb.hh.
|
inline |
Definition at line 68 of file remote_gdb.hh.
References r.
void RemoteGDB::PowerGdbRegCache::getRegs | ( | ThreadContext * | context | ) |
Definition at line 178 of file remote_gdb.cc.
References DPRINTF, htobe(), ArmISA::i, PowerISA::INTREG_CR, PowerISA::INTREG_CTR, PowerISA::INTREG_LR, PowerISA::INTREG_XER, PowerISA::NumFloatArchRegs, PowerISA::NumIntArchRegs, ThreadContext::pcState(), r, ThreadContext::readFloatRegBits(), and ThreadContext::readIntReg().
|
inline |
Definition at line 73 of file remote_gdb.hh.
void RemoteGDB::PowerGdbRegCache::setRegs | ( | ThreadContext * | context | ) | const |
Definition at line 201 of file remote_gdb.cc.
References betoh(), DPRINTF, ArmISA::i, PowerISA::INTREG_CR, PowerISA::INTREG_CTR, PowerISA::INTREG_LR, PowerISA::INTREG_XER, PowerISA::NumFloatArchRegs, PowerISA::NumIntArchRegs, ThreadContext::pcState(), MipsISA::r, ThreadContext::setFloatRegBits(), and ThreadContext::setIntReg().
|
inline |
Definition at line 69 of file remote_gdb.hh.
References r.
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::cr |
Definition at line 62 of file remote_gdb.hh.
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::ctr |
Definition at line 64 of file remote_gdb.hh.
uint64_t PowerISA::RemoteGDB::PowerGdbRegCache::fpr[NumFloatArchRegs] |
Definition at line 59 of file remote_gdb.hh.
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::gpr[NumIntArchRegs] |
Definition at line 58 of file remote_gdb.hh.
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::lr |
Definition at line 63 of file remote_gdb.hh.
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::msr |
Definition at line 61 of file remote_gdb.hh.
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::pc |
Definition at line 60 of file remote_gdb.hh.
struct { ... } PowerISA::RemoteGDB::PowerGdbRegCache::r |
uint32_t PowerISA::RemoteGDB::PowerGdbRegCache::xer |
Definition at line 65 of file remote_gdb.hh.