diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-10-30 16:08:23 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-10-30 16:08:23 +0000 |
commit | 48b2c193533ed12c6b1e4754862a397d2d196085 (patch) | |
tree | 166b1712b14dc8d4b5115eb48b9da588a6586f9a /gdbstub.c | |
parent | 1983a3956ce8c37a32de09976c65187bf3d4478b (diff) |
sparc fix (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1572 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |