aboutsummaryrefslogtreecommitdiff
path: root/target/sparc/gdbstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/sparc/gdbstub.c')
-rw-r--r--target/sparc/gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sparc/gdbstub.c b/target/sparc/gdbstub.c
index 8be742b5a3..78dc8dcc98 100644
--- a/target/sparc/gdbstub.c
+++ b/target/sparc/gdbstub.c
@@ -27,7 +27,7 @@
#define gdb_get_rega(buf, val) gdb_get_regl(buf, val)
#endif
-int sparc_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n)
+int sparc_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n)
{
SPARCCPU *cpu = SPARC_CPU(cs);
CPUSPARCState *env = &cpu->env;