Merged patch from Bochs-Developers mailing list.
Fixes bp handling.
This commit is contained in:
parent
b8c84baddb
commit
3111909a64
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: dbg_main.cc,v 1.77 2006-09-17 07:12:50 vruppert Exp $
|
||||
// $Id: dbg_main.cc,v 1.78 2006-09-17 19:22:24 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -1225,6 +1225,7 @@ one_more:
|
||||
for (cpu=0; cpu < BX_SMP_PROCESSORS; cpu++) {
|
||||
BX_CPU(cpu)->guard_found.guard_found = 0;
|
||||
BX_CPU(cpu)->guard_found.icount = 0;
|
||||
BX_CPU(cpu)->guard_found.time_tick = bx_pc_system.time_ticks();
|
||||
BX_CPU(cpu)->cpu_loop(quantum);
|
||||
// set stop flag if a guard found other than icount or halted
|
||||
unsigned long found = BX_CPU(cpu)->guard_found.guard_found;
|
||||
@ -1296,6 +1297,8 @@ void bx_dbg_stepN_command(Bit32u count)
|
||||
for (unsigned cpu=0; cpu < BX_SMP_PROCESSORS; cpu++) {
|
||||
bx_guard.interrupt_requested = 0;
|
||||
BX_CPU(cpu)->guard_found.guard_found = 0;
|
||||
BX_CPU(cpu)->guard_found.icount = 0;
|
||||
BX_CPU(cpu)->guard_found.time_tick = bx_pc_system.time_ticks();
|
||||
BX_CPU(cpu)->cpu_loop(1);
|
||||
}
|
||||
#if BX_SUPPORT_SMP == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user