summaryrefslogtreecommitdiff
path: root/interf.c
diff options
context:
space:
mode:
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;