arch-riscv: Change the packed data of GdbRegCache to protected (#1552)

Change it to protected to enable access the packed data from derived
RiscvGdbRegCache class

Change-Id: Ib33732642914ad367773c3fa45adaf6dfdeb248d
This commit is contained in:
Yu-Cheng Chang
2024-09-13 00:52:03 +08:00
committed by GitHub
parent e970acb9d2
commit f94cac6f65

View File

@@ -63,7 +63,7 @@ class RemoteGDB : public BaseRemoteGDB
class Riscv32GdbRegCache : public BaseGdbRegCache
{
using BaseGdbRegCache::BaseGdbRegCache;
private:
protected:
/**
* RISC-V Register Cache
* Order and sizes of registers found in ext/gdb-xml/riscv.xml
@@ -149,7 +149,7 @@ class RemoteGDB : public BaseRemoteGDB
class Riscv64GdbRegCache : public BaseGdbRegCache
{
using BaseGdbRegCache::BaseGdbRegCache;
private:
protected:
/**
* RISC-V Register Cache
* Order and sizes of registers found in ext/gdb-xml/riscv.xml