gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ArmISA::RemoteGDB::AArch32GdbRegCache Class Reference

#include <remote_gdb.hh>

Inheritance diagram for gem5::ArmISA::RemoteGDB::AArch32GdbRegCache:
gem5::BaseGdbRegCache

Classes

struct  GEM5_PACKED
 

Public Member Functions

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.
 
void setRegs (ThreadContext *) const override
 Set the ThreadContext's registers from the values in the raw buffer.
 
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 ()
 

Protected Attributes

struct gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::GEM5_PACKED r
 
- Protected Attributes inherited from gem5::BaseGdbRegCache
BaseRemoteGDBgdb
 

Private Member Functions

 BaseGdbRegCache (BaseRemoteGDB *g)
 

Detailed Description

Definition at line 68 of file remote_gdb.hh.

Member Function Documentation

◆ BaseGdbRegCache()

gem5::BaseGdbRegCache::BaseGdbRegCache ( BaseRemoteGDB * g)
inlineprivate

Definition at line 134 of file remote_gdb.hh.

◆ data()

char * gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::data ( ) const
inlineoverridevirtual

Return the pointer to the raw bytes buffer containing the register values.

Each byte of this buffer is literally encoded as two hex digits in the g or G RSP packet.

Implements gem5::BaseGdbRegCache.

Definition at line 80 of file remote_gdb.hh.

References r.

◆ getRegs()

◆ name()

const std::string gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::name ( ) const
inlineoverridevirtual

Return the name to use in places like DPRINTF.

Having each concrete superclass redefine this member is useful in situations where the class of the regCache can change on the fly.

Implements gem5::BaseGdbRegCache.

Definition at line 85 of file remote_gdb.hh.

References gem5::BaseGdbRegCache::gdb, and gem5::BaseRemoteGDB::name().

◆ setRegs()

◆ size()

size_t gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::size ( ) const
inlineoverridevirtual

Return the size of the raw buffer, in bytes (i.e., half of the number of digits in the g/G packet).

Implements gem5::BaseGdbRegCache.

Definition at line 81 of file remote_gdb.hh.

References r.

Member Data Documentation

◆ r

struct gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::GEM5_PACKED gem5::ArmISA::RemoteGDB::AArch32GdbRegCache::r
protected

Referenced by data(), and size().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:17 for gem5 by doxygen 1.11.0