forked from qt-creator/qt-creator
Debugger: Minor cleanup
Change-Id: Idfef663ec6701f7ed8904bd5c3dbfa87e0baaf8b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
be3677c02e
commit
bb070d861b
@@ -4161,10 +4161,7 @@ void GdbEngine::setupInferior()
|
|||||||
if (symbolFile.isEmpty()) {
|
if (symbolFile.isEmpty()) {
|
||||||
showMessage(tr("No symbol file given."), StatusBar);
|
showMessage(tr("No symbol file given."), StatusBar);
|
||||||
callTargetRemote();
|
callTargetRemote();
|
||||||
return;
|
} else {
|
||||||
}
|
|
||||||
|
|
||||||
if (!symbolFile.isEmpty()) {
|
|
||||||
runCommand({"-file-exec-and-symbols \"" + symbolFile + '"',
|
runCommand({"-file-exec-and-symbols \"" + symbolFile + '"',
|
||||||
CB(handleFileExecAndSymbols)});
|
CB(handleFileExecAndSymbols)});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user