GDBStub: Correctly inform the CPU thread if we are stepping

This commit is contained in:
aldelaro5
2021-10-01 01:33:40 -04:00
parent b9b7c4ac80
commit b8395280d3
2 changed files with 3 additions and 8 deletions

View File

@ -573,14 +573,6 @@ void gdb_break()
static void gdb_step()
{
Common::Event sync_event;
PowerPC::CoreMode old_mode = PowerPC::GetMode();
PowerPC::SetMode(PowerPC::CoreMode::Interpreter);
PowerPC::breakpoints.ClearAllTemporary();
CPU::StepOpcode(&sync_event);
sync_event.WaitFor(std::chrono::milliseconds(20));
PowerPC::SetMode(old_mode);
send_signal = 1;
}