Debugger: Minor cleanup

Change-Id: Idfef663ec6701f7ed8904bd5c3dbfa87e0baaf8b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2021-01-07 11:11:05 +02:00
committed by Orgad Shaneh
parent be3677c02e
commit bb070d861b

View File

@@ -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)});
} }