From 42347a26eed7ae00d054bbaa15a636aa529fb608 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Fri, 15 Jun 2012 14:17:17 +0000 Subject: [PATCH] fixed dbg print format --- bochs/bx_debug/dbg_main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/bx_debug/dbg_main.cc b/bochs/bx_debug/dbg_main.cc index 8044f5f89..e9a060a1c 100644 --- a/bochs/bx_debug/dbg_main.cc +++ b/bochs/bx_debug/dbg_main.cc @@ -2954,10 +2954,10 @@ void bx_dbg_print_descriptor(Bit32u lo, Bit32u hi) // either a code or a data segment. bit 11 (type file MSB) then says // 0=data segment, 1=code seg if (IS_CODE_SEGMENT(type)) { - dbg_printf("Code segment, base=0x%08x, limit=0x%08x, %s%s%s", + dbg_printf("Code segment, base=0x%08x, limit=0x%08x, %s, %s%s", base, g ? (limit * 4096 + 4095) : limit, IS_CODE_SEGMENT_READABLE(type) ? "Execute/Read" : "Execute-Only", - IS_CODE_SEGMENT_CONFORMING(type)? ", Conforming" : "Non-Conforming", + IS_CODE_SEGMENT_CONFORMING(type)? "Conforming" : "Non-Conforming", IS_SEGMENT_ACCESSED(type)? ", Accessed" : ""); #if BX_SUPPORT_X86_64 if (l && !d_b)