forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.0'
Conflicts: src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp Change-Id: I6ae2d37290643d69390f679a54f7596782f3d97f
This commit is contained in:
@@ -88,14 +88,14 @@ void GdbCoreEngine::setupEngine()
|
||||
|
||||
static QString findExecutableFromName(const QString &fileNameFromCore, const QString &coreFile)
|
||||
{
|
||||
if (QFileInfo(fileNameFromCore).isFile())
|
||||
return fileNameFromCore;
|
||||
if (fileNameFromCore.isEmpty())
|
||||
return QString();
|
||||
return fileNameFromCore;
|
||||
QFileInfo fi(fileNameFromCore);
|
||||
if (fi.isFile())
|
||||
return fileNameFromCore;
|
||||
|
||||
// turn the filename into an absolute path, using the location of the core as a hint
|
||||
QString absPath;
|
||||
QFileInfo fi(fileNameFromCore);
|
||||
if (fi.isAbsolute()) {
|
||||
absPath = fileNameFromCore;
|
||||
} else {
|
||||
@@ -204,6 +204,7 @@ void GdbCoreEngine::writeCoreChunk()
|
||||
void GdbCoreEngine::setupInferior()
|
||||
{
|
||||
CHECK_STATE(InferiorSetupRequested);
|
||||
setLinuxOsAbi();
|
||||
// Do that first, otherwise no symbols are loaded.
|
||||
QFileInfo fi(m_executable);
|
||||
QByteArray path = fi.absoluteFilePath().toLocal8Bit();
|
||||
|
||||
Reference in New Issue
Block a user