]> git.proxmox.com Git - qemu.git/blobdiff - gdbstub.c
Gdbstub: handle read of fpscr
[qemu.git] / gdbstub.c
index 12dd100af47291915efe7894cb958dcb052f9de1..1d99e19258ba84f3cd1a8ca748c9f9bcf2078420 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -733,7 +733,7 @@ static int cpu_gdb_read_register(CPUState *env, uint8_t *mem_buf, int n)
             {
                 if (gdb_has_xml)
                     return 0;
-                GET_REG32(0); /* fpscr */
+                GET_REG32(env->fpscr);
             }
         }
     }