gem5  v20.1.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ArmISA::RemoteGDB::AArch64GdbRegCache Class Reference

#include <remote_gdb.hh>

Inheritance diagram for ArmISA::RemoteGDB::AArch64GdbRegCache:
BaseGdbRegCache

Public Member Functions

char * data () const
 Return the pointer to the raw bytes buffer containing the register values. More...
 
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). More...
 
void getRegs (ThreadContext *)
 Fill the raw buffer from the registers in the ThreadContext. More...
 
void setRegs (ThreadContext *) const
 Set the ThreadContext's registers from the values in the raw buffer. More...
 
const std::string name () const
 Return the name to use in places like DPRINTF. More...
 
- Public Member Functions inherited from BaseGdbRegCache
 BaseGdbRegCache (BaseRemoteGDB *g)
 
virtual ~BaseGdbRegCache ()
 

Private Member Functions

 BaseGdbRegCache (BaseRemoteGDB *g)
 

Private Attributes

struct {
   uint64_t   x [31]
 
   uint64_t   spx
 
   uint64_t   pc
 
   uint32_t   cpsr
 
   VecElem   v [NumVecV8ArchRegs
      *NumVecElemPerNeonVecReg]
 
   uint32_t   fpsr
 
   uint32_t   fpcr
 
r
 

Additional Inherited Members

- Protected Attributes inherited from BaseGdbRegCache
BaseRemoteGDBgdb
 

Detailed Description

Definition at line 87 of file remote_gdb.hh.

Member Function Documentation

◆ BaseGdbRegCache()

BaseGdbRegCache::BaseGdbRegCache
inlineprivate

Definition at line 119 of file remote_gdb.hh.

◆ data()

char* ArmISA::RemoteGDB::AArch64GdbRegCache::data ( ) const
inlinevirtual

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 BaseGdbRegCache.

Definition at line 101 of file remote_gdb.hh.

References r.

◆ getRegs()

void RemoteGDB::AArch64GdbRegCache::getRegs ( ThreadContext )
virtual

◆ name()

const std::string ArmISA::RemoteGDB::AArch64GdbRegCache::name ( ) const
inlinevirtual

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 BaseGdbRegCache.

Definition at line 106 of file remote_gdb.hh.

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

◆ setRegs()

void RemoteGDB::AArch64GdbRegCache::setRegs ( ThreadContext ) const
virtual

◆ size()

size_t ArmISA::RemoteGDB::AArch64GdbRegCache::size ( ) const
inlinevirtual

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

Implements BaseGdbRegCache.

Definition at line 102 of file remote_gdb.hh.

References r.

Member Data Documentation

◆ cpsr

uint32_t ArmISA::RemoteGDB::AArch64GdbRegCache::cpsr

Definition at line 95 of file remote_gdb.hh.

◆ fpcr

uint32_t ArmISA::RemoteGDB::AArch64GdbRegCache::fpcr

Definition at line 98 of file remote_gdb.hh.

◆ fpsr

uint32_t ArmISA::RemoteGDB::AArch64GdbRegCache::fpsr

Definition at line 97 of file remote_gdb.hh.

◆ pc

uint64_t ArmISA::RemoteGDB::AArch64GdbRegCache::pc

Definition at line 94 of file remote_gdb.hh.

◆ r

struct { ... } ArmISA::RemoteGDB::AArch64GdbRegCache::r

Referenced by data(), getRegs(), and size().

◆ spx

uint64_t ArmISA::RemoteGDB::AArch64GdbRegCache::spx

Definition at line 93 of file remote_gdb.hh.

◆ v

VecElem ArmISA::RemoteGDB::AArch64GdbRegCache::v[NumVecV8ArchRegs *NumVecElemPerNeonVecReg]

Definition at line 96 of file remote_gdb.hh.

Referenced by getRegs().

◆ x

uint64_t ArmISA::RemoteGDB::AArch64GdbRegCache::x[31]

Definition at line 92 of file remote_gdb.hh.


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

Generated on Wed Sep 30 2020 14:02:37 for gem5 by doxygen 1.8.17