From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5qQW-0003yS-Ua for qemu-devel@nongnu.org; Thu, 27 Nov 2008 18:37:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5qQU-0003vp-Uc for qemu-devel@nongnu.org; Thu, 27 Nov 2008 18:37:40 -0500 Received: from [199.232.76.173] (port=36137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5qQU-0003vU-PF for qemu-devel@nongnu.org; Thu, 27 Nov 2008 18:37:38 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:60268) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5qQU-0000DO-8L for qemu-devel@nongnu.org; Thu, 27 Nov 2008 18:37:38 -0500 Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 180FAF722389 for ; Fri, 28 Nov 2008 00:37:37 +0100 (CET) Received: from [88.64.25.231] (helo=[192.168.1.198]) by smtp06.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1L5qQS-0006zT-00 for qemu-devel@nongnu.org; Fri, 28 Nov 2008 00:37:36 +0100 Message-ID: <492F2F3C.3090005@web.de> Date: Fri, 28 Nov 2008 00:37:32 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <200811272230.12559.frank.mehnert@sun.com> <492F2984.9050806@web.de> In-Reply-To: <492F2984.9050806@web.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC5F17585E6BD393CCD9865EE" Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH] fix dr register typo (was: typo in target-i386/ops_sse.h) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC5F17585E6BD393CCD9865EE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jan Kiszka wrote: > ... > That reminds me that we should have a "zero new warnings policy" for > changes. But reality still looks different... =2E..and I'm the first one to shoot (I should really start building also upstream qemu with gcc4): ---------> Fix register name typo in dumping debug registers. Signed-off-by: Jan Kiszka target-i386/helper.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index 037540d..f2d91df 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -647,7 +647,7 @@ void cpu_dump_state(CPUState *env, FILE *f, for(i =3D 0; i < 4; i++) cpu_fprintf(f, "DR%d=3D%016" PRIx64 " ", i, env->dr[i]); cpu_fprintf(f, "\nDR6=3D%016" PRIx64 " DR7=3D%016" PRIx64 "\n", - env->dr[6], env->cr[7]); + env->dr[6], env->dr[7]); } else #endif { @@ -681,7 +681,7 @@ void cpu_dump_state(CPUState *env, FILE *f, (uint32_t)env->cr[4]); for(i =3D 0; i < 4; i++) cpu_fprintf(f, "DR%d=3D%08x ", i, env->dr[i]); - cpu_fprintf(f, "\nDR6=3D%08x DR7=3D%08x\n", env->dr[6], env->cr[= 7]); + cpu_fprintf(f, "\nDR6=3D%08x DR7=3D%08x\n", env->dr[6], env->dr[= 7]); } if (flags & X86_DUMP_CCOP) { if ((unsigned)env->cc_op < CC_OP_NB) --------------enigC5F17585E6BD393CCD9865EE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkkvL0AACgkQniDOoMHTA+lYkwCfToXHkEcXR1HUjCGOFLxL3ONk 92EAnAtb6JDYrXUIZ8qTXB5aLEZbB8tl =cL3v -----END PGP SIGNATURE----- --------------enigC5F17585E6BD393CCD9865EE--