diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2014-08-29 15:52:17 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-01 09:45:19 +0200 |
commit | 218829db2303e3d61f901f1d12fd4f7cd03644e1 (patch) | |
tree | 7b8be3b63543444b9e99eaadc03074444181d081 /target-s390x/gdbstub.c | |
parent | 73d510c9d3f67378759447fd78af10b22e39620f (diff) |
s390x/gdb: coding style fixes
This patch cleanes up two coding style issues (missing whitespaces).
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x/gdbstub.c')
-rw-r--r-- | target-s390x/gdbstub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-s390x/gdbstub.c b/target-s390x/gdbstub.c index cda80530e4..8945f0271d 100644 --- a/target-s390x/gdbstub.c +++ b/target-s390x/gdbstub.c @@ -41,7 +41,7 @@ int s390_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n) case S390_PSWA_REGNUM: return gdb_get_regl(mem_buf, env->psw.addr); case S390_R0_REGNUM ... S390_R15_REGNUM: - return gdb_get_regl(mem_buf, env->regs[n-S390_R0_REGNUM]); + return gdb_get_regl(mem_buf, env->regs[n - S390_R0_REGNUM]); } return 0; } @@ -63,7 +63,7 @@ int s390_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) env->psw.addr = tmpl; break; case S390_R0_REGNUM ... S390_R15_REGNUM: - env->regs[n-S390_R0_REGNUM] = tmpl; + env->regs[n - S390_R0_REGNUM] = tmpl; break; default: return 0; |