From e537aa62d8d2d35bb9015161e0a7a1de28ccdcd0 Mon Sep 17 00:00:00 2001
From: hjk <qthjk@ovi.com>
Date: Thu, 9 Aug 2012 03:43:07 +0200
Subject: [PATCH] debugger: remove dead code

Change-Id: I959be322f030f08f8ec1692751545f3bb5f62aee
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/debuggerplugin.cpp | 39 -------------------------
 1 file changed, 39 deletions(-)

diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 74fc0958482..8832acef367 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -1520,45 +1520,6 @@ void DebuggerPluginPrivate::startExternalApplication()
             startDebugger(rc);
 }
 
-//void DebuggerPluginPrivate::attachToLocalProcessHelper()
-//{
-//    AttachExternalDialog dlg(mainWindow());
-//    dlg.setProfileIndex(configValue(_("LastAttachExternalProfileIndex")).toInt());
-
-//    if (dlg.exec() != QDialog::Accepted)
-//        return;
-
-//    if (dlg.attachPID() == 0) {
-//        QMessageBox::warning(mainWindow(), tr("Warning"),
-//            tr("Cannot attach to process with PID 0"));
-//        return;
-//    }
-
-//    setConfigValue(_("LastAttachExternalProfileIndex"), QVariant(dlg.profileIndex()));
-
-//    DebuggerStartParameters sp;
-//    fillParameters(&sp, dlg.profileId());
-//    sp.attachPID = dlg.attachPID();
-//    sp.displayName = tr("Process %1").arg(dlg.attachPID());
-//    sp.executable = dlg.executable();
-//    sp.startMode = AttachExternal;
-//    sp.closeMode = DetachAtClose;
-//    if (DebuggerRunControl *rc = createDebugger(sp))
-//        startDebugger(rc);
-//}
-
-//void DebuggerPluginPrivate::attachToLocalProcess(RunControl *rc)
-//{
-//    DebuggerStartParameters sp;
-//    fillParameters(&sp, ProfileManager::instance()->defaultProfile()->id()); // FIXME: Extract from rc.
-//    sp.attachPID = rc->applicationProcessHandle().pid();
-//    sp.displayName = tr("Debugger attached to %1").arg(rc->displayName());
-//    sp.startMode = AttachExternal;
-//    sp.closeMode = DetachAtClose;
-//    if (DebuggerRunControl *rc = createDebugger(sp))
-//        startDebugger(rc);
-//}
-
 void DebuggerPluginPrivate::attachCore()
 {
     AttachCoreDialog dlg(mainWindow());
-- 
GitLab