Ejemplo n.º 1
0
static bool
_vm_cont(VMState *state, VMStateDiff **diff, bool *hit_bp, bool first)
{
    while (true) {
        if (!_vm_step(state, 1000, diff, hit_bp, first))
            return false;
        if (*hit_bp || state->stopped_running)
            break;

        first = false;
    }
    return true;
}
Ejemplo n.º 2
0
bool
vm_step(VMState *state, int nsteps, VMStateDiff **diff, bool *hit_bp)
{
    return _vm_step(state, nsteps, diff, hit_bp, true);
}
Ejemplo n.º 3
0
bool 
vm_step(VMState *state, unsigned long nsteps, VMStateDiff **diff, bool *hit_bp)
{
    return _vm_step(state, nsteps, diff, hit_bp, true);
}