Leon Alrae <leon.al...@imgtec.com> writes:
> On 15/04/2015 10:09, Liviu Ionescu wrote:
> > Peter/Leon,
> >
> > I'm planning for my future releases, and, to avoid incompatible
> versions, I would like to help with the semihosting configuration issue,
> to speed up things. is there any chance to close this issue in the near
> future?
> 
> I'm hoping so :) I'm holding up UHI patches respin until we resolve
> this.
> 
> >
> > we currently have two solutions:
> >
> > - multiple: --semihosting-config arg="..."
> > - a single option, placed at the end, and followed by any number of
> > arguments: --semihosting-cmdline $@ \n
> >
> > both can generate the array of args required by UHI and both can pass
> args with spaces.
> >
> > the second one is more scripting friendly, and is somehow in the
> spirit of other unix programs that need to pass such arguments.
> 
> I don't have a strong preference here, but I think I would be leaning
> towards the second one as it just looks better. On the other hand it
> reserves the last position in the QEMU command line, which I'm not sure
> if can become a problem at some point?

For what it's worth, I like the idea of using the end of the command line
for this as it makes a qemu wrapper really simple. Isn't this also how the
user-mode simulator works for qemu, consistency between these wouldn't
be a bad thing.

Thanks,
Matthew

Reply via email to