From 499b00312ef198eccccf5579b4c1ada499fccbf5 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 17 Feb 2011 15:27:00 +0100
Subject: [PATCH] debugger: allow attaching to core files on windows

Seems it's not only theoretically possible but people actually want to use it

Task-number: QTCREATORBUG-3813
---
 src/plugins/debugger/debuggerplugin.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 1eb85fce722..a7e112bcb3a 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2181,11 +2181,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
 
     m_startExternalAction->setEnabled(true);
     m_attachExternalAction->setEnabled(true);
-#ifdef Q_OS_WIN
-    m_attachCoreAction->setEnabled(false);
-#else
     m_attachCoreAction->setEnabled(true);
-#endif
     m_startRemoteAction->setEnabled(true);
 
     const bool isCore = engine->startParameters().startMode == AttachCore;
-- 
GitLab