From 616d48a570296f3d6eb38e5ce5e6fe41facf1a29 Mon Sep 17 00:00:00 2001 From: Alec Roelke Date: Tue, 21 Mar 2017 12:54:50 -0400 Subject: 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 Reviewed-by: Jason Lowe-Power --- src/arch/riscv/isa.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/riscv/isa.hh') 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 miscRegFile; + std::map miscRegNames; public: typedef RiscvISAParams Params; - static std::map miscRegNames; void clear(); -- cgit v1.2.3