Re: [PATCH 2/2] semihosting/config: Merge --semihosting-config option groups

2022-06-09 Thread Luc Michel
On 20:00 Thu 26 May , Peter Maydell wrote: > Currently we mishandle the --semihosting-config option if the > user specifies it on the command line more than once. For > example with: > --semihosting-config target=gdb --semihosting-config arg=foo,arg=bar > > the function

[PATCH 2/2] semihosting/config: Merge --semihosting-config option groups

2022-05-26 Thread Peter Maydell
Currently we mishandle the --semihosting-config option if the user specifies it on the command line more than once. For example with: --semihosting-config target=gdb --semihosting-config arg=foo,arg=bar the function qemu_semihosting_config_options() is called twice, once for each argument. But