From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOR82-0001ev-FX for qemu-devel@nongnu.org; Mon, 01 Sep 2014 08:54:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOR7p-00059P-EO for qemu-devel@nongnu.org; Mon, 01 Sep 2014 08:54:38 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:55065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOR7p-00059E-52 for qemu-devel@nongnu.org; Mon, 01 Sep 2014 08:54:25 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Sep 2014 13:54:24 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 910B417D8045 for ; Mon, 1 Sep 2014 13:56:19 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s81CsMvi45220062 for ; Mon, 1 Sep 2014 12:54:22 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s817qo19022027 for ; Mon, 1 Sep 2014 03:52:51 -0400 From: Christian Borntraeger Date: Mon, 1 Sep 2014 14:54:30 +0200 Message-Id: <1409576070-55803-20-git-send-email-borntraeger@de.ibm.com> In-Reply-To: <1409576070-55803-1-git-send-email-borntraeger@de.ibm.com> References: <1409576070-55803-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PULL 19/19] s390x/gdb: coding style fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Christian Borntraeger , qemu-devel , Alexander Graf , David Hildenbrand , Jens Freimann , Anthony Liguori , Cornelia Huck , Richard Henderson From: David Hildenbrand This patch cleanes up two coding style issues (missing whitespaces). Signed-off-by: David Hildenbrand Acked-by: Cornelia Huck Acked-by: Christian Borntraeger Signed-off-by: Jens Freimann Signed-off-by: Christian Borntraeger --- target-s390x/gdbstub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-s390x/gdbstub.c b/target-s390x/gdbstub.c index cda8053..8945f02 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; -- 1.8.4.2