Debugger: Provide a startup customization hook for 3rd party plugins

Change-Id: Ia587abcb1bdcdfbf192d3314610ec9addf370c9b
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2017-01-20 09:38:59 +01:00
parent 7beb5d5c24
commit 66b19f334d
5 changed files with 12 additions and 2 deletions

View File

@@ -4079,7 +4079,7 @@ void GdbEngine::loadInitScript()
).arg(script));
}
} else {
const QString commands = expand(stringSetting(GdbStartupCommands));
const QString commands = nativeStartupCommands();
if (!commands.isEmpty())
runCommand({commands});
}