Fix to stop external debugger trapping for all exceptions.

This commit is contained in:
Peter Tattam 2002-09-25 06:36:42 +00:00
parent 2107fb3af9
commit 0de63e8492

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: exception.cc,v 1.18 2002-09-24 08:29:05 bdenney Exp $
// $Id: exception.cc,v 1.19 2002-09-25 06:36:42 ptrumpet Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -819,7 +819,7 @@ BX_CPU_C::exception(unsigned vector, Bit16u error_code, Boolean is_INT)
#if BX_EXTERNAL_DEBUGGER
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);
//trap_debugger(1);
#endif