aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/gdbstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/xtensa/gdbstub.c')
-rw-r--r--target/xtensa/gdbstub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/xtensa/gdbstub.c b/target/xtensa/gdbstub.c
index da131ae8cc..d78a1b437d 100644
--- a/target/xtensa/gdbstub.c
+++ b/target/xtensa/gdbstub.c
@@ -72,7 +72,6 @@ int xtensa_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n)
__func__, n, reg->type);
memset(mem_buf, 0, reg->size);
return reg->size;
- return 0;
}
}