40#ifndef __ARCH_X86_REMOTEGDB_HH__
41#define __ARCH_X86_REMOTEGDB_HH__
86 char *
data() {
return (
char *)&
r; }
87 size_t size()
const {
return sizeof(
r); }
93 return gdb->name() +
".X86GdbRegCache";
135 size_t size()
const {
return sizeof(
r); }
141 return gdb->name() +
".AMD64GdbRegCache";
Concrete subclasses of this abstract class represent how the register values are transmitted on the w...
ThreadContext is the external interface to all thread state for anything outside of the CPU.
char * data()
Return the pointer to the raw bytes buffer containing the register values.
BaseGdbRegCache(BaseRemoteGDB *g)
const std::string name() const
Return the name to use in places like DPRINTF.
void getRegs(ThreadContext *)
Fill the raw buffer from the registers in the ThreadContext.
struct gem5::X86ISA::RemoteGDB::AMD64GdbRegCache::GEM5_PACKED r
void setRegs(ThreadContext *) const
Set the ThreadContext's registers from the values in the raw buffer.
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).
void getRegs(ThreadContext *)
Fill the raw buffer from the registers in the ThreadContext.
BaseGdbRegCache(BaseRemoteGDB *g)
const std::string name() const
Return the name to use in places like DPRINTF.
char * data()
Return the pointer to the raw bytes buffer containing the register values.
struct gem5::X86ISA::RemoteGDB::X86GdbRegCache::@302170246304373166075260337127051153361152075153 r
void setRegs(ThreadContext *) const
Set the ThreadContext's registers from the values in the raw buffer.
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).
BaseGdbRegCache * gdbRegs()
bool acc(Addr addr, size_t len)
AMD64GdbRegCache regCache64
RemoteGDB(System *system, ListenSocketConfig _listen_config)
X86GdbRegCache regCache32
bool checkBpKind(size_t kind)
BaseGdbRegCache(BaseRemoteGDB *g)
BaseRemoteGDB(System *system, ListenSocketConfig _listen_config)
Interface to other parts of the simulator.
This is exposed globally, independent of the ISA.
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.