From 48b2c193533ed12c6b1e4754862a397d2d196085 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 30 Oct 2005 16:08:23 +0000 Subject: sparc fix (Blue Swirl) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1572 c046a42c-6fe2-441c-8c8c-71466251a162 --- gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdbstub.c') diff --git a/gdbstub.c b/gdbstub.c index cbae3208cf..96b3ae6d04 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -297,7 +297,7 @@ static int cpu_gdb_read_registers(CPUState *env, uint8_t *mem_buf) int i; /* fill in g0..g7 */ - for(i = 0; i < 7; i++) { + for(i = 0; i < 8; i++) { registers[i] = tswapl(env->gregs[i]); } /* fill in register window */ -- cgit v1.2.3