qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4743] Fix Sparc32plus & Sparc64 debug output


From: Blue Swirl
Subject: [Qemu-devel] [4743] Fix Sparc32plus & Sparc64 debug output
Date: Sun, 15 Jun 2008 18:02:49 +0000

Revision: 4743
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4743
Author:   blueswir1
Date:     2008-06-15 18:02:48 +0000 (Sun, 15 Jun 2008)

Log Message:
-----------
Fix Sparc32plus & Sparc64 debug output

Modified Paths:
--------------
    trunk/linux-user/main.c

Modified: trunk/linux-user/main.c
===================================================================
--- trunk/linux-user/main.c     2008-06-13 18:16:59 UTC (rev 4742)
+++ trunk/linux-user/main.c     2008-06-15 18:02:48 UTC (rev 4743)
@@ -779,8 +779,8 @@
 
     sp_ptr = env->regbase[get_reg_index(env, cwp1, 6)];
 #if defined(DEBUG_WIN)
-    printf("win_overflow: sp_ptr=0x%x save_cwp=%d\n",
-           (int)sp_ptr, cwp1);
+    printf("win_overflow: sp_ptr=0x" TARGET_ABI_FMT_lx " save_cwp=%d\n",
+           sp_ptr, cwp1);
 #endif
     for(i = 0; i < 16; i++) {
         /* FIXME - what to do if put_user() fails? */
@@ -816,8 +816,8 @@
     cwp1 = cpu_cwp_inc(env, env->cwp + 1);
     sp_ptr = env->regbase[get_reg_index(env, cwp1, 6)];
 #if defined(DEBUG_WIN)
-    printf("win_underflow: sp_ptr=0x%x load_cwp=%d\n",
-           (int)sp_ptr, cwp1);
+    printf("win_underflow: sp_ptr=0x" TARGET_ABI_FMT_lx " load_cwp=%d\n",
+           sp_ptr, cwp1);
 #endif
     for(i = 0; i < 16; i++) {
         /* FIXME - what to do if get_user() fails? */






reply via email to

[Prev in Thread] Current Thread [Next in Thread]