Commit e051c9c2 authored by hjk's avatar hjk

Debugger: Trim user startup command input before usage

No need to push empty lines etc.

Change-Id: I16862e9cc1fe19ced1000a954c71a4044ed9d0ac
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent bccda22c
......@@ -4069,7 +4069,7 @@ void GdbEngine::loadInitScript()
} else {
const QString commands = nativeStartupCommands();
const QString commands = nativeStartupCommands().trimmed();
if (!commands.isEmpty())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment