Re: [Qemu-devel] [PATCH 2/4] target-lm32: add semihosting support

2014-04-28 Thread Michael Walle
Am 2014-04-28 19:27, schrieb Peter Maydell: On 22 April 2014 19:18, Michael Walle wrote: Intercept certain system calls if semihosting is enabled. This should behave like the GDB simulator. @@ -608,8 +609,20 @@ static void dec_scall(DisasContext *dc) break; case 7: LOG_DI

Re: [Qemu-devel] [PATCH 2/4] target-lm32: add semihosting support

2014-04-28 Thread Peter Maydell
On 22 April 2014 19:18, Michael Walle wrote: > Intercept certain system calls if semihosting is enabled. This should > behave like the GDB simulator. > @@ -608,8 +609,20 @@ static void dec_scall(DisasContext *dc) > break; > case 7: > LOG_DIS("scall\n"); > -tcg_gen_mo

[Qemu-devel] [PATCH 2/4] target-lm32: add semihosting support

2014-04-22 Thread Michael Walle
Intercept certain system calls if semihosting is enabled. This should behave like the GDB simulator. Signed-off-by: Michael Walle --- qemu-options.hx |3 +- target-lm32/Makefile.objs |1 + target-lm32/README|9 ++ target-lm32/helper.h |1 + target-lm32/lm32