From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59761 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2JMW-0003QH-G0 for qemu-devel@nongnu.org; Sun, 03 Oct 2010 03:52:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2JMU-00017U-WE for qemu-devel@nongnu.org; Sun, 03 Oct 2010 03:52:00 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:55446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2JMU-00017P-PR for qemu-devel@nongnu.org; Sun, 03 Oct 2010 03:51:58 -0400 Received: by qwk4 with SMTP id 4so2742228qwk.4 for ; Sun, 03 Oct 2010 00:51:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1285879191-16520-1-git-send-email-weil@mail.berlios.de> References: <1285879191-16520-1-git-send-email-weil@mail.berlios.de> From: Blue Swirl Date: Sun, 3 Oct 2010 07:51:37 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: [PATCH] exec: Fix compilation error for debug code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers Thanks, applied. On Thu, Sep 30, 2010 at 8:39 PM, Stefan Weil 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 > Signed-off-by: Stefan Weil > --- > =C2=A0exec.c | =C2=A0 =C2=A05 +++-- > =C2=A01 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= , > =C2=A0 =C2=A0 =C2=A0 =C2=A0 pd =3D p->phys_offset; > =C2=A0 =C2=A0 } > =C2=A0#if defined(DEBUG_TLB) > - =C2=A0 =C2=A0printf("tlb_set_page: vaddr=3D" TARGET_FMT_lx " paddr=3D0x= %08x prot=3D%x idx=3D%d smmu=3D%d pd=3D0x%08lx\n", > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vaddr, (int)paddr, prot, mmu_idx, is= _softmmu, pd); > + =C2=A0 =C2=A0printf("tlb_set_page: vaddr=3D" TARGET_FMT_lx " paddr=3D0x= " TARGET_FMT_plx > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 " prot=3D%x idx=3D%d pd=3D0x%08lx\n"= , > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 vaddr, paddr, prot, mmu_idx, pd); > =C2=A0#endif > > =C2=A0 =C2=A0 address =3D vaddr; > -- > 1.7.1 > >