forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.14'
Change-Id: I26a53ef81a54a2f7aa482448118298895b712941
This commit is contained in:
@@ -4150,6 +4150,9 @@ void GdbEngine::setupInferior()
|
||||
// Do that first, otherwise no symbols are loaded.
|
||||
QFileInfo fi = executable.toFileInfo();
|
||||
QString path = fi.absoluteFilePath();
|
||||
// This is *not* equivalent to -file-exec-and-symbols. If the file is not executable
|
||||
// (contains only debugging symbols), this should still work.
|
||||
runCommand({"-file-exec-file \"" + path + '"'});
|
||||
runCommand({"-file-symbol-file \"" + path + '"',
|
||||
CB(handleFileExecAndSymbols)});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user