disable calling external debugger when jumping in & out of 64 bit mode.

This commit is contained in:
Peter Tattam 2003-01-14 07:40:21 +00:00
parent b2622c5d04
commit 6e359d62ed

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: proc_ctrl.cc,v 1.63 2002-11-13 21:00:04 sshwarts Exp $
// $Id: proc_ctrl.cc,v 1.64 2003-01-14 07:40:21 ptrumpet Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -1576,7 +1576,7 @@ BX_CPU_C::SetCR0(Bit32u val_32)
BX_CPU_THIS_PTR msr.lma = 1;
BX_CPU_THIS_PTR cpu_mode = BX_MODE_LONG_COMPAT;
#if BX_EXTERNAL_DEBUGGER
trap_debugger(0);
//trap_debugger(0);
#endif
}
}
@ -1588,7 +1588,7 @@ BX_CPU_C::SetCR0(Bit32u val_32)
BX_CPU_THIS_PTR msr.lma = 0;
BX_CPU_THIS_PTR cpu_mode = BX_MODE_IA32;
#if BX_EXTERNAL_DEBUGGER
trap_debugger(0);
//trap_debugger(0);
#endif
}
}