44 #ifndef __ARCH_ARM_REMOTE_GDB_HH__ 45 #define __ARCH_ARM_REMOTE_GDB_HH__ 76 char *
data()
const {
return (
char *)&
r; }
77 size_t size()
const {
return sizeof(
r); }
83 return gdb->
name() +
".AArch32GdbRegCache";
101 char *
data()
const {
return (
char *)&
r; }
102 size_t size()
const {
return sizeof(
r); }
108 return gdb->
name() +
".AArch64GdbRegCache";
121 return {
"qXfer:features:read+"};
std::vector< std::string > availableFeatures() const
const std::string name() const
Return the name to use in places like DPRINTF.
static void output(const char *filename)
AArch32GdbRegCache regCache32
AArch64GdbRegCache regCache64
BaseGdbRegCache * gdbRegs()
ThreadContext is the external interface to all thread state for anything outside of the CPU...
void setRegs(ThreadContext *) const
Set the ThreadContext's registers from the values in the raw buffer.
void getRegs(ThreadContext *)
Fill the raw buffer from the registers in the ThreadContext.
char * data() const
Return the pointer to the raw bytes buffer containing the register values.
RemoteGDB(System *_system, ThreadContext *tc, int _port)
size_t size() const
Return the size of the raw buffer, in bytes (i.e., half of the number of digits in the g/G packet)...
Concrete subclasses of this abstract class represent how the register values are transmitted on the w...
struct ArmISA::RemoteGDB::AArch32GdbRegCache::@3 r
const std::string name() const
Return the name to use in places like DPRINTF.
const int NumVecV8ArchRegs
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
struct FXSave M5_ATTR_PACKED
BaseGdbRegCache(BaseRemoteGDB *g)
bool acc(Addr addr, size_t len)
bool getXferFeaturesRead(const std::string &annex, std::string &output)
Get an XML target description.
constexpr unsigned NumVecElemPerNeonVecReg
char * data() const
Return the pointer to the raw bytes buffer containing the register values.
size_t size() const
Return the size of the raw buffer, in bytes (i.e., half of the number of digits in the g/G packet)...