diff --git a/bochs/cpu/cpu.cc b/bochs/cpu/cpu.cc index b1ee67dce..cac5cd257 100644 --- a/bochs/cpu/cpu.cc +++ b/bochs/cpu/cpu.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: cpu.cc,v 1.26 2002-04-01 04:02:02 instinc Exp $ +// $Id: cpu.cc,v 1.27 2002-04-01 13:14:37 instinc Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -441,7 +441,11 @@ handle_async_event: BX_CPU_THIS_PTR inhibit_mask = 0; // clear inhibits for after resume // for one processor, pass the time as quickly as possible until // an interrupt wakes up the CPU. +#if BX_DEBUGGER while (bx_guard.interrupt_requested != 1) { +#else + while (1) { +#endif if (BX_CPU_THIS_PTR INTR && BX_CPU_THIS_PTR eflags.if_) { break; }