gem5 v24.0.0.0
|
#include <remote_gdb.hh>
Public Member Functions | |
void | setRegs (ThreadContext *) const override |
Set the ThreadContext's registers from the values in the raw buffer. | |
Public Member Functions inherited from gem5::ArmISA::RemoteGDB::AArch64GdbRegCache | |
char * | data () const override |
Return the pointer to the raw bytes buffer containing the register values. | |
size_t | size () const override |
Return the size of the raw buffer, in bytes (i.e., half of the number of digits in the g/G packet). | |
void | getRegs (ThreadContext *) override |
Fill the raw buffer from the registers in the ThreadContext. | |
const std::string | name () const override |
Return the name to use in places like DPRINTF. | |
Public Member Functions inherited from gem5::BaseGdbRegCache | |
BaseGdbRegCache (BaseRemoteGDB *g) | |
virtual | ~BaseGdbRegCache () |
Additional Inherited Members | |
Protected Attributes inherited from gem5::ArmISA::RemoteGDB::AArch64GdbRegCache | |
struct gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED | r |
Protected Attributes inherited from gem5::BaseGdbRegCache | |
BaseRemoteGDB * | gdb |
Definition at line 45 of file remote_gdb.hh.
|
overridevirtual |
Set the ThreadContext's registers from the values in the raw buffer.
Reimplemented from gem5::ArmISA::RemoteGDB::AArch64GdbRegCache.
Definition at line 41 of file remote_gdb.cc.
References gem5::PCStateBase::as(), gem5::BaseRemoteGDB::context(), gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED::cpsr, DPRINTF, gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED::fpcr, gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED::fpsr, gem5::ArmISA::i, gem5::ArmISA::MISCREG_CPSR, gem5::ArmISA::MISCREG_FPCR, gem5::ArmISA::MISCREG_FPSR, gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED::pc, gem5::ThreadContext::pcState(), gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::r, gem5::GenericISA::SimplePCState< InstWidth >::set(), gem5::ThreadContext::setMiscRegNoEffect(), gem5::ThreadContext::setReg(), gem5::ArmISA::int_reg::Spx, gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED::spx, warn, gem5::ArmISA::int_reg::x(), and gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::GEM5_PACKED::x.