mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
GDB Stub: do not send a packet when we just connected
This commit is contained in:
@ -136,7 +136,8 @@ void Run()
|
||||
state_lock.unlock();
|
||||
if (GDBStub::IsActive() && GDBStub::HasControl())
|
||||
{
|
||||
GDBStub::SendSignal(GDBStub::Signal::Sigtrap);
|
||||
if (!GDBStub::JustConnected())
|
||||
GDBStub::SendSignal(GDBStub::Signal::Sigtrap);
|
||||
GDBStub::ProcessCommands(true);
|
||||
// If we are still going to step, emulate the fact we just sent a step command
|
||||
if (GDBStub::HasControl())
|
||||
|
Reference in New Issue
Block a user