gem5 v24.0.0.0
|
Concrete subclasses of this abstract class represent how the register values are transmitted on the wire. More...
#include <remote_gdb.hh>
Public Member Functions | |
virtual char * | data () const =0 |
Return the pointer to the raw bytes buffer containing the register values. | |
virtual size_t | size () const =0 |
Return the size of the raw buffer, in bytes (i.e., half of the number of digits in the g/G packet). | |
virtual void | getRegs (ThreadContext *)=0 |
Fill the raw buffer from the registers in the ThreadContext. | |
virtual void | setRegs (ThreadContext *) const =0 |
Set the ThreadContext's registers from the values in the raw buffer. | |
virtual const std::string | name () const =0 |
Return the name to use in places like DPRINTF. | |
BaseGdbRegCache (BaseRemoteGDB *g) | |
virtual | ~BaseGdbRegCache () |
Protected Attributes | |
BaseRemoteGDB * | gdb |
Concrete subclasses of this abstract class represent how the register values are transmitted on the wire.
Usually each architecture should define one subclass, but there can be more if there is more than one possible wire format. For example, ARM defines both AArch32GdbRegCache and AArch64GdbRegCache.
Definition at line 85 of file remote_gdb.hh.
|
inlinevirtual |
Definition at line 136 of file remote_gdb.hh.
|
protected |
Definition at line 140 of file remote_gdb.hh.
Referenced by gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::name(), gem5::ArmISA::RemoteGDB::AArch64GdbRegCache::name(), gem5::MipsISA::RemoteGDB::MipsGdbRegCache::name(), gem5::PowerISA::RemoteGDB::Power64GdbRegCache::name(), gem5::PowerISA::RemoteGDB::PowerGdbRegCache::name(), gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::name(), gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::name(), gem5::SparcISA::RemoteGDB::SPARC64GdbRegCache::name(), gem5::SparcISA::RemoteGDB::SPARCGdbRegCache::name(), gem5::X86ISA::RemoteGDB::AMD64GdbRegCache::name(), and gem5::X86ISA::RemoteGDB::X86GdbRegCache::name().