]> git.proxmox.com Git - qemu.git/commitdiff
gdbstub: fix coding style nit
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 30 Sep 2009 17:43:47 +0000 (19:43 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 30 Sep 2009 18:45:50 +0000 (18:45 +0000)
Put space between = and * when dereferencing a pointer,
to avoid confusion with old-style "*="

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
gdbstub.c

index 33d79ebcb9eb70bc98e1bfa29a135d11adfe111a..3c31fad491f4df31ae308a4f41f22dd4112b7e4a 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1284,7 +1284,7 @@ static int cpu_gdb_read_register(CPUState *env, uint8_t *mem_buf, int n)
     else if (n<63) {
        uint64_t val;
 
-       val=*((uint64_t *)&env->fir[n-32]);
+       val = *((uint64_t *)&env->fir[n-32]);
        GET_REGL(val);
     }
     else if (n==63) {