From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKewU-0003ep-1e for qemu-devel@nongnu.org; Sun, 20 Jul 2008 15:51:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKewS-0003e4-LK for qemu-devel@nongnu.org; Sun, 20 Jul 2008 15:51:37 -0400 Received: from [199.232.76.173] (port=40813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKewS-0003dx-BB for qemu-devel@nongnu.org; Sun, 20 Jul 2008 15:51:36 -0400 Received: from moutng.kundenserver.de ([212.227.126.188]:57591) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKewS-0001VF-0T for qemu-devel@nongnu.org; Sun, 20 Jul 2008 15:51:36 -0400 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.69) (envelope-from ) id 1KKewQ-0007HF-3y for qemu-devel@nongnu.org; Sun, 20 Jul 2008 21:51:34 +0200 Message-ID: <48839745.3060603@weilnetz.de> Date: Sun, 20 Jul 2008 21:51:33 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel] [PATCH] Fix logging output for MIPS HI, LO registers Content-Type: multipart/mixed; boundary="------------030202050009060809020203" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers This is a multi-part message in MIME format. --------------030202050009060809020203 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hello, the values for MIPS registers HI and LO were wrong in Qemu log output. Please apply my patch to Qemu SVN trunk. Regards Stefan --------------030202050009060809020203 Content-Type: text/x-diff; name="mips_translate.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mips_translate.patch" Index: target-mips/translate.c =================================================================== --- target-mips/translate.c (Revision 4915) +++ target-mips/translate.c (Arbeitskopie) @@ -8694,7 +8694,8 @@ int i; cpu_fprintf(f, "pc=0x" TARGET_FMT_lx " HI=0x" TARGET_FMT_lx " LO=0x" TARGET_FMT_lx " ds %04x " TARGET_FMT_lx " %d\n", - env->active_tc.PC, env->active_tc.HI, env->active_tc.LO, env->hflags, env->btarget, env->bcond); + env->active_tc.PC, env->active_tc.HI[0], env->active_tc.LO[0], + env->hflags, env->btarget, env->bcond); for (i = 0; i < 32; i++) { if ((i & 3) == 0) cpu_fprintf(f, "GPR%02d:", i); --------------030202050009060809020203--