30#ifndef __ARCH_SPARC_REMOTE_GDB_HH__
31#define __ARCH_SPARC_REMOTE_GDB_HH__
69 char *
data() {
return (
char *)&
r; }
70 size_t size()
const {
return sizeof(
r); }
76 return gdb->name() +
".SPARCGdbRegCache";
96 char *
data() {
return (
char *)&
r; }
97 size_t size()
const {
return sizeof(
r); }
103 return gdb->name() +
".SPARC64GdbRegCache";
Concrete subclasses of this abstract class represent how the register values are transmitted on the w...
BaseGdbRegCache(BaseRemoteGDB *g)
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).
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.
char * data()
Return the pointer to the raw bytes buffer containing the register values.
struct gem5::SparcISA::RemoteGDB::SPARC64GdbRegCache::@277111046363350137356026323026356241320262103124 r
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).
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.
void setRegs(ThreadContext *) const
Set the ThreadContext's registers from the values in the raw buffer.
struct gem5::SparcISA::RemoteGDB::SPARCGdbRegCache::@021024227317361326261356105121107021301012207067 r
BaseGdbRegCache * gdbRegs()
RemoteGDB(System *_system, ListenSocketConfig _listen_config)
SPARCGdbRegCache regCache32
bool acc(Addr addr, size_t len)
SPARC64GdbRegCache regCache64
ThreadContext is the external interface to all thread state for anything outside of the CPU.
BaseGdbRegCache(BaseRemoteGDB *g)
BaseRemoteGDB(System *system, ListenSocketConfig _listen_config)
Interface to other parts of the simulator.
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.