From 2d3d62db5fc4e1bc99282e6bd821490d5ba1f943 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Tue, 22 Aug 2017 21:14:39 +0000 Subject: [PATCH] cleaned cr2 print in 32-bit mode --- bochs/cpu/debugstuff.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/cpu/debugstuff.cc b/bochs/cpu/debugstuff.cc index b0015d0c1..8df241c37 100644 --- a/bochs/cpu/debugstuff.cc +++ b/bochs/cpu/debugstuff.cc @@ -241,8 +241,8 @@ void BX_CPU_C::debug(bx_address offset) (unsigned) BX_CPU_THIS_PTR cr0.get32(), (unsigned) BX_CPU_THIS_PTR cr2, (unsigned) BX_CPU_THIS_PTR cr3)); #else - BX_INFO(("| CR0=0x%08x CR2=0x" FMT_ADDRX64, - BX_CPU_THIS_PTR cr0.get32(), BX_CPU_THIS_PTR cr2)); + BX_INFO(("| CR0=0x%08x CR2=0x%08x", + BX_CPU_THIS_PTR cr0.get32(), (unsigned) BX_CPU_THIS_PTR cr2)); BX_INFO(("| CR3=0x%08x CR4=0x%08x", (unsigned) BX_CPU_THIS_PTR cr3, (unsigned) BX_CPU_THIS_PTR cr4.get32()));