diff options
Diffstat (limited to 'target/openrisc/gdbstub.c')
-rw-r--r-- | target/openrisc/gdbstub.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/openrisc/gdbstub.c b/target/openrisc/gdbstub.c index c2a77d5..45bba80 100644 --- a/target/openrisc/gdbstub.c +++ b/target/openrisc/gdbstub.c @@ -47,14 +47,9 @@ int openrisc_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) int openrisc_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) { - CPUClass *cc = CPU_GET_CLASS(cs); CPUOpenRISCState *env = cpu_env(cs); uint32_t tmp; - if (n > cc->gdb_num_core_regs) { - return 0; - } - tmp = ldl_p(mem_buf); if (n < 32) { |