- add GDB stub patch by Johan Rydberg

This commit is contained in:
Bryce Denney 2002-10-03 05:14:50 +00:00
parent aeffd3e212
commit 75ce3842d2

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cpu.cc,v 1.58 2002-10-01 04:13:12 ptrumpet Exp $
// $Id: cpu.cc,v 1.59 2002-10-03 05:14:50 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -470,6 +470,16 @@ debugger_check:
}
#endif // #if BX_DEBUGGER
#if BX_GDBSTUB
{
unsigned int reason;
if ((reason = bx_gdbstub_check(EIP)) != GDBSTUB_STOP_NO_REASON)
{
return;
}
}
#endif
goto main_cpu_loop;