[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 8f4bee2] gdbstub: fix coding style nit

From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 8f4bee2] gdbstub: fix coding style nit
Date: Wed, 30 Sep 2009 19:01:09 -0000

From: Michael S. Tsirkin <address@hidden>

Put space between = and * when dereferencing a pointer,
to avoid confusion with old-style "*="

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>

diff --git a/gdbstub.c b/gdbstub.c
index 33d79eb..3c31fad 100644
--- 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]);
     else if (n==63) {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]