summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-27 10:02:35 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-27 10:02:35 +0000
commitb5dc7732e1cc2fb549e48b7b5d664f2c79628e2e (patch)
treee18d7e7fc4e2fc9bad326022331c17c2800a8bbb /monitor.c
parenta37ee56cb7f2094a65fff14ed5d4ff325652b802 (diff)
downloadqemu-b5dc7732e1cc2fb549e48b7b5d664f2c79628e2e.tar.gz
More efficient target register / TC accesses.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4794 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 914f4c6e32..fc135caf50 100644
--- a/monitor.c
+++ b/monitor.c
@@ -316,7 +316,7 @@ static void do_info_cpus(void)
#elif defined(TARGET_SPARC)
term_printf(" pc=0x" TARGET_FMT_lx " npc=0x" TARGET_FMT_lx, env->pc, env->npc);
#elif defined(TARGET_MIPS)
- term_printf(" PC=0x" TARGET_FMT_lx, env->PC[env->current_tc]);
+ term_printf(" PC=0x" TARGET_FMT_lx, env->active_tc.PC);
#endif
if (env->halted)
term_printf(" (halted)");