Change BX_ERROR to BX_DEBUG

This commit is contained in:
Stanislav Shwartsman 2007-04-25 20:14:15 +00:00
parent 25ebf16236
commit 65a99eb736

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// $Id: proc_ctrl.cc,v 1.163 2007-04-14 10:05:30 sshwarts Exp $ // $Id: proc_ctrl.cc,v 1.164 2007-04-25 20:14:15 sshwarts Exp $
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// //
// Copyright (C) 2001 MandrakeSoft S.A. // Copyright (C) 2001 MandrakeSoft S.A.
@ -99,7 +99,7 @@ void BX_CPU_C::HLT(bxInstruction_c *i)
BX_PANIC(("HALT instruction encountered in the BIOS ROM")); BX_PANIC(("HALT instruction encountered in the BIOS ROM"));
if (!real_mode() && CPL!=0) { if (!real_mode() && CPL!=0) {
BX_ERROR(("HLT: %s priveledge check failed, CPL=%d, generate #GP(0)", BX_DEBUG(("HLT: %s priveledge check failed, CPL=%d, generate #GP(0)",
cpu_mode_string(BX_CPU_THIS_PTR cpu_mode), CPL)); cpu_mode_string(BX_CPU_THIS_PTR cpu_mode), CPL));
exception(BX_GP_EXCEPTION, 0, 0); exception(BX_GP_EXCEPTION, 0, 0);
return; return;