- fix register trace output. We want to print 0 or 1 for every boolean

flag, so it needs to call the getB accessor, not the get accessor.
This commit is contained in:
Bryce Denney 2002-10-04 23:01:56 +00:00
parent d754550d47
commit 57e1762aa8

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: dbg_main.cc,v 1.73 2002-10-04 15:10:13 mlerwill Exp $
// $Id: dbg_main.cc,v 1.74 2002-10-04 23:01:56 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -2164,12 +2164,12 @@ void bx_dbg_disassemble_current (int which_cpu, int print_time)
BX_CPU(which_cpu)->getB_SF(),
BX_CPU(which_cpu)->getB_OF(),
BX_CPU(which_cpu)->getB_PF(),
BX_CPU(which_cpu)->get_TF (),
BX_CPU(which_cpu)->get_IF (),
BX_CPU(which_cpu)->get_DF (),
BX_CPU(which_cpu)->getB_TF (),
BX_CPU(which_cpu)->getB_IF (),
BX_CPU(which_cpu)->getB_DF (),
BX_CPU(which_cpu)->get_IOPL (),
BX_CPU(which_cpu)->get_NT (),
BX_CPU(which_cpu)->get_RF (),
BX_CPU(which_cpu)->getB_NT (),
BX_CPU(which_cpu)->getB_RF (),
BX_CPU(which_cpu)->getB_VM ());
if (print_time)