projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ece4df
)
gdbstub: fix coding style nit
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 30 Sep 2009 17:43:47 +0000
(19:43 +0200)
committer
Blue 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
patch
|
blob
|
history
diff --git
a/gdbstub.c
b/gdbstub.c
index
33d79eb
..
3c31fad
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) {