- uncomment pieces of Peter Tattam's external debugger, but leave them in

an #if BX_EXTERNAL_DEBUGGER block
This commit is contained in:
Bryce Denney 2002-09-23 15:26:05 +00:00
parent 00b2607e6a
commit c6133d926a

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: exception.cc,v 1.16 2002-09-14 17:29:47 kevinlawton Exp $
// $Id: exception.cc,v 1.17 2002-09-23 15:26:05 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -817,9 +817,9 @@ BX_CPU_C::exception(unsigned vector, Bit16u error_code, Boolean is_INT)
}
#endif
//BX_DEBUG (("Exception(%u) code=%08x @%08x%08x", vector, error_code,(Bit32u)(BX_CPU_THIS_PTR prev_eip >>32),(Bit32u)(BX_CPU_THIS_PTR prev_eip)));
#if BX_EXTERNAL_DEBUGGER
// trap_debugger(1);
printf ("Exception(%u) code=%08x @%08x%08x\n", vector, error_code,(Bit32u)(BX_CPU_THIS_PTR prev_eip >>32),(Bit32u)(BX_CPU_THIS_PTR prev_eip));
trap_debugger(1);
#endif