> On 26 May 2022, at 14:08, Peter Maydell <peter.mayd...@linaro.org> wrote:
> 

I confirm that, started via "-kernel aarch64-boot-libgloss.elf", with a single 
"--semihosting-config", the app ran properly, displayed the printf() output and 
no longer crashed.

```
ilg@wksi ~ % 
/Users/ilg/Library/xPacks/@xpack-dev-tools/qemu-arm/6.2.0-1.1/.content/bin/qemu-system-aarch64
  "--machine" "virt" "--cpu" "cortex-a57" "--kernel" "/Users/ilg/My Files/WKS 
Projects/micro-os-plus.github/work/aarch64-boot-libgloss/Debug/aarch64-boot-libgloss.elf"
 "--nographic" "-d" "unimp,guest_errors" "--semihosting-config" 
"enable=on,target=native,arg=sample-test,arg=one,arg=two"

Hello World 3!
arg 0 = sample-test!
arg 1 = one!
arg 2 = two!
...
```

> ... You want both '-s' and '-S'

Same with '-s -S' and the elf loaded via GDB in Eclipse.


Thank you,

Liviu


Reply via email to