> On 20 May 2015, at 12:31, Leon Alrae <leon.al...@imgtec.com> wrote: > > ... I’ll update arm-semi.c as well to concatenate all args.
you can use parts of my initial patch for the arm semihosting related changes. --- personally I would add a pointer (cmdline?) in the semihosting structure and a getter (semihosting_get_cmdline()?). at first call, the getter would concatenate all args and store the result in the structure (the concatenate function is there), so that future calls will get it faster. this is necessary since in my code I need the cmdline string in at least two different locations. regards, Liviu