Commit 48b2c193533ed12c6b1e4754862a397d2d196085

Authored by bellard
1 parent 1983a395

sparc fix (Blue Swirl)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1572 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
gdbstub.c
... ... @@ -297,7 +297,7 @@ static int cpu_gdb_read_registers(CPUState *env, uint8_t *mem_buf)
297 297 int i;
298 298  
299 299 /* fill in g0..g7 */
300   - for(i = 0; i < 7; i++) {
  300 + for(i = 0; i < 8; i++) {
301 301 registers[i] = tswapl(env->gregs[i]);
302 302 }
303 303 /* fill in register window */
... ...