From: Stefan Weil <berlios@weilnetz.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] Fix logging output for MIPS HI, LO registers
Date: Sun, 20 Jul 2008 21:51:33 +0200 [thread overview]
Message-ID: <48839745.3060603@weilnetz.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 138 bytes --]
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
[-- Attachment #2: mips_translate.patch --]
[-- Type: text/x-diff, Size: 699 bytes --]
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);
reply other threads:[~2008-07-20 19:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48839745.3060603@weilnetz.de \
--to=berlios@weilnetz.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).