qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] exec: Fix compilation error for debug code
@ 2010-09-30 20:39 Stefan Weil
  2010-10-03  7:51 ` [Qemu-devel] " Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2010-09-30 20:39 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Blue Swirl

is_softmmu was removed with commit
d4c430a80f000d722bb70287af4d4c184a8d7006,
so remove it now from debug code, too.

Fix also the format specifier for paddr
in the same line of code.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 exec.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/exec.c b/exec.c
index 9b5464f..1fbe91c 100644
--- a/exec.c
+++ b/exec.c
@@ -2173,8 +2173,9 @@ void tlb_set_page(CPUState *env, target_ulong vaddr,
         pd = p->phys_offset;
     }
 #if defined(DEBUG_TLB)
-    printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x%08x prot=%x idx=%d smmu=%d pd=0x%08lx\n",
-           vaddr, (int)paddr, prot, mmu_idx, is_softmmu, pd);
+    printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x" TARGET_FMT_plx
+           " prot=%x idx=%d pd=0x%08lx\n",
+           vaddr, paddr, prot, mmu_idx, pd);
 #endif
 
     address = vaddr;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Qemu-devel] Re: [PATCH] exec: Fix compilation error for debug code
  2010-09-30 20:39 [Qemu-devel] [PATCH] exec: Fix compilation error for debug code Stefan Weil
@ 2010-10-03  7:51 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2010-10-03  7:51 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers

Thanks, applied.

On Thu, Sep 30, 2010 at 8:39 PM, Stefan Weil <weil@mail.berlios.de> wrote:
> is_softmmu was removed with commit
> d4c430a80f000d722bb70287af4d4c184a8d7006,
> so remove it now from debug code, too.
>
> Fix also the format specifier for paddr
> in the same line of code.
>
> Cc: Blue Swirl <blauwirbel@gmail.com>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  exec.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/exec.c b/exec.c
> index 9b5464f..1fbe91c 100644
> --- a/exec.c
> +++ b/exec.c
> @@ -2173,8 +2173,9 @@ void tlb_set_page(CPUState *env, target_ulong vaddr,
>         pd = p->phys_offset;
>     }
>  #if defined(DEBUG_TLB)
> -    printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x%08x prot=%x idx=%d smmu=%d pd=0x%08lx\n",
> -           vaddr, (int)paddr, prot, mmu_idx, is_softmmu, pd);
> +    printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x" TARGET_FMT_plx
> +           " prot=%x idx=%d pd=0x%08lx\n",
> +           vaddr, paddr, prot, mmu_idx, pd);
>  #endif
>
>     address = vaddr;
> --
> 1.7.1
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-03  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 20:39 [Qemu-devel] [PATCH] exec: Fix compilation error for debug code Stefan Weil
2010-10-03  7:51 ` [Qemu-devel] " Blue Swirl

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).