summaryrefslogtreecommitdiff
path: root/interf.c
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2020-12-05 17:49:25 +0100
committerJiri Gaisler <jiri@gaisler.se>2020-12-15 15:28:09 +0100
commit36b4b0a9b95a351fc99ca3224503dab9e29af865 (patch)
tree2364018e2cc1e3118672e841b84bc545caf316a8 /interf.c
parentbb65f4484f9be1818435ca39e95feab35be427aa (diff)
Added support for RISCV32 systems with CLINT/PLIC
Diffstat (limited to 'interf.c')
-rw-r--r--interf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interf.c b/interf.c
index 421c0ac..edca4e0 100644
--- a/interf.c
+++ b/interf.c
@@ -98,7 +98,7 @@ sim_read (uint32 mem, char *buf, int length)
{
int i, len;
- if (sis_gdb_break && (cputype <= CPU_LEON3) && (length >= 4))
+ if (sis_gdb_break && (archtype == CPU_SPARC) && (length >= 4))
{
if (gdb_sp_read (mem, buf, length))
return length;