~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to src/plugins/debugger/gdb/coregdbadapter.cpp

  • Committer: Timo Jyrinki
  • Date: 2013-11-15 12:25:23 UTC
  • mfrom: (1.1.28)
  • Revision ID: timo.jyrinki@canonical.com-20131115122523-i2kyamsu4gs2mu1m
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "coregdbadapter.h"
31
31
 
32
 
#include "debuggercore.h"
33
 
#include "debuggerprotocol.h"
34
 
#include "debuggerstartparameters.h"
35
 
#include "debuggerstringutils.h"
 
32
#include <debugger/debuggercore.h>
 
33
#include <debugger/debuggerprotocol.h>
 
34
#include <debugger/debuggerstartparameters.h>
 
35
#include <debugger/debuggerstringutils.h>
36
36
 
37
37
#include <utils/qtcassert.h>
38
38
 
150
150
            }
151
151
        }
152
152
    }
153
 
    if (isCore)
 
153
    if (isCore) {
154
154
        startGdb();
155
 
    else {
 
155
    } else {
156
156
        showMessageBox(QMessageBox::Warning,
157
157
            tr("Error Loading Core File"),
158
158
            tr("The specified file does not appear to be a core file."));
211
211
        postCommand("p 5", CB(handleRoundTrip));
212
212
        return;
213
213
    }
214
 
    QString msg = tr("Attach to core \"%1\" failed:\n")
 
214
    QString msg = tr("Attach to core \"%1\" failed:")
215
215
        .arg(startParameters().coreFile)
 
216
        + QLatin1Char('\n')
216
217
        + QString::fromLocal8Bit(response.data["msg"].data());
217
218
    notifyInferiorSetupFailed(msg);
218
219
}