summaryrefslogtreecommitdiff
path: root/src/arch/riscv/isa.hh
diff options
context:
space:
mode:
authorAlec Roelke <ar4jc@virginia.edu>2017-03-21 12:54:50 -0400
committerAlec Roelke <ar4jc@virginia.edu>2017-04-05 20:21:45 +0000
commit616d48a570296f3d6eb38e5ce5e6fe41facf1a29 (patch)
tree62f4ae2782d9ff1c4f43ce3abcf190113ee0e8bb /src/arch/riscv/isa.hh
parentcd06bcf4ec2443eb719410e7e496e3d9d4d479c9 (diff)
downloadgem5-616d48a570296f3d6eb38e5ce5e6fe41facf1a29.tar.xz
riscv: add remote gdb support
This patch adds support for debugging with remote GDB to RISC-V. Using GDB compiled with the RISC-V GNU toolchain, it is possible to pause and continue execution, view debugging information, etc. As with the rest of RISC-V, this does not support full-system mode. Change-Id: I2d3a8be614725e1be4b4c283f9fb678a0a30578d Reviewed-on: https://gem5-review.googlesource.com/2304 Maintainer: Alec Roelke <ar4jc@virginia.edu> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/riscv/isa.hh')
-rw-r--r--src/arch/riscv/isa.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/isa.hh b/src/arch/riscv/isa.hh
index 421f79222..d2f38b158 100644
--- a/src/arch/riscv/isa.hh
+++ b/src/arch/riscv/isa.hh
@@ -58,10 +58,10 @@ class ISA : public SimObject
{
protected:
std::vector<MiscReg> miscRegFile;
+ std::map<int, std::string> miscRegNames;
public:
typedef RiscvISAParams Params;
- static std::map<int, std::string> miscRegNames;
void
clear();