summaryrefslogtreecommitdiff
path: root/src/plugins/baremetal
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-06-05 15:35:15 +0200
committerhjk <hjk@qt.io>2019-06-06 12:22:47 +0000
commit611e1ea837c7589ee4467f4c3c0416b8793f9fc7 (patch)
treed5cc5b793d83aa7cb3ce2f96d39bdde2567587ef /src/plugins/baremetal
parent27dee4dc5c221ea9006514515acd3239efc36bf1 (diff)
downloadqt-creator-611e1ea837c7589ee4467f4c3c0416b8793f9fc7.tar.gz
Utils: Encourage marking of raw command line parameters
Change-Id: Id66ac07732c66ab8c1232fe1f58042de8a61abb0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/baremetal')
-rw-r--r--src/plugins/baremetal/openocdgdbserverprovider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/baremetal/openocdgdbserverprovider.cpp b/src/plugins/baremetal/openocdgdbserverprovider.cpp
index b7044defe0..69397e7871 100644
--- a/src/plugins/baremetal/openocdgdbserverprovider.cpp
+++ b/src/plugins/baremetal/openocdgdbserverprovider.cpp
@@ -112,7 +112,7 @@ QString OpenOcdGdbServerProvider::channel() const
CommandLine OpenOcdGdbServerProvider::command() const
{
- CommandLine cmd{m_executableFile, {}};
+ CommandLine cmd{m_executableFile};
cmd.addArg("-c");
if (startupMode() == StartupOnPipe)
@@ -127,7 +127,7 @@ CommandLine OpenOcdGdbServerProvider::command() const
cmd.addArgs({"-f", m_configurationFile});
if (!m_additionalArguments.isEmpty())
- cmd.addArgs(m_additionalArguments);
+ cmd.addArgs(m_additionalArguments, CommandLine::Raw);
return cmd;
}