On 20 Nov 2014, at 18:40, Liviu Ionescu <i...@livius.net> wrote: > A new sub-option was added to -semihosting-config to define the entire > semihosting command line (cmdline=string).
unfortunately the use of a sub-option is not appropriate, the command line string must be allowed to include *any* character, including the ',' which is not allowed, being used by the parser. for example -semihosting-config target=native,cmdline="MessageTest --gtest_output=xml:gcm.xml,baburiba" triggers an error: Unsupported semihosting-config target=native,cmdline=MessageTest --gtest_output=xml:gcm.xml,baburiba unless you know of an escape character, the only solution I see is to return to a separate option: -semihosting-cmdline "0 1 2 3" for my use I would define a global variable and assign it, but this will probably not work for other targets. any suggestions? regard, Liviu