[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] Add -semihosting-config ....cmdline=string.
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] [PATCH v2] Add -semihosting-config ....cmdline=string. |
Date: |
Thu, 20 Nov 2014 22:13:46 +0200 |
On 20 Nov 2014, at 18:40, Liviu Ionescu <address@hidden> 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