Make GDB server able to be attached when the emulator starts
Jeffrey Pfau jeffrey@endrift.com
Mon, 03 Feb 2014 03:42:29 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -68,7 +68,7 @@ if (m_threadContext.debugger) {
GBADetachDebugger(m_threadContext.gba); } m_threadContext.debugger = debugger; - if (m_threadContext.debugger) { + if (m_threadContext.debugger && GBAThreadHasStarted(&m_threadContext)) { GBAAttachDebugger(m_threadContext.gba, m_threadContext.debugger); } setPaused(wasPaused);