From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayjla-0006MJ-39 for qemu-devel@nongnu.org; Fri, 06 May 2016 13:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayjlO-00034P-9S for qemu-devel@nongnu.org; Fri, 06 May 2016 13:42:12 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:56912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayjlO-00032O-3B for qemu-devel@nongnu.org; Fri, 06 May 2016 13:42:06 -0400 From: Andreas Schwab References: <1462392752-17703-1-git-send-email-laurent@vivier.eu> <1462392752-17703-20-git-send-email-laurent@vivier.eu> Date: Fri, 06 May 2016 19:41:53 +0200 In-Reply-To: <1462392752-17703-20-git-send-email-laurent@vivier.eu> (Laurent Vivier's message of "Wed, 4 May 2016 22:11:59 +0200") Message-ID: <87lh3nxevy.fsf@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 19/52] target-m68k: terminate cpu dump with newline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: qemu-devel@nongnu.org, gerg@uclinux.org, agraf@suse.de, rth@twiddle.net Laurent Vivier writes: > From: Andreas Schwab > > Signed-off-by: Andreas Schwab > Signed-off-by: Laurent Vivier > --- > target-m68k/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target-m68k/translate.c b/target-m68k/translate.c > index ddc3100..37c1b95 100644 > --- a/target-m68k/translate.c > +++ b/target-m68k/translate.c > @@ -3142,7 +3142,7 @@ void m68k_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf, > } > cpu_fprintf (f, "PC = %08x ", env->pc); > sr = env->sr | cpu_m68k_get_ccr(env); > - cpu_fprintf (f, "SR = %04x %c%c%c%c%c ", sr, (sr & CCF_X) ? 'X' : '-', > + cpu_fprintf (f, "SR = %04x %c%c%c%c%c\n", sr, (sr & CCF_X) ? 'X' : '-', > (sr & CCF_N) ? 'N' : '-', (sr & CCF_Z) ? 'Z' : '-', > (sr & CCF_V) ? 'V' : '-', (sr & CCF_C) ? 'C' : '-'); > cpu_fprintf (f, "FPRESULT = %12g\n", *(double *)&env->fp_result); This is only useful in the context of the FPU patches which remove the last line. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."