Fixes: debugger: attaching to core files works now

This commit is contained in:
hjk
2009-03-03 09:31:13 +01:00
parent ebe17889f4
commit 85adf63551
2 changed files with 55 additions and 18 deletions

View File

@@ -1076,7 +1076,9 @@ void DebuggerManager::setStatus(int status)
const bool starting = status == DebuggerProcessStartingUp;
const bool running = status == DebuggerInferiorRunning;
const bool ready = status == DebuggerInferiorStopped;
const bool ready = status == DebuggerInferiorStopped
&& startMode() != AttachCore;
m_startExternalAction->setEnabled(!started && !starting);
m_attachExternalAction->setEnabled(!started && !starting);