On 20/05/2015 09:54, Peter Maydell wrote: > On 20 May 2015 at 09:11, Leon Alrae <leon.al...@imgtec.com> wrote: >> Agreed. We could initialize semihosting.argv[0] with -kernel and argv[1] >> with -append string if in semihosting mode and no semihosting args have >> been specified. I'll update it in v4. > > I'm tempted to suggest splitting -append on whitespace to initialize > argv[1..n]. ARM will just re-concatenate it, but it seems more > useful for the non-ARM cases.
I've been considering that, and I think we are better off without splitting -append in semihosting mode because this is at least consistent with MIPS machines in QEMU (in non-semihosting mode) -- pseudo-bootloaders in MALTA and Fulong2e have hardcoded argc to 2 (-kernel and -append). Therefore I would leave it as it is unless we really need to change it. Leon