[Qemu-devel] [PATCH] add semihosting-config option

2014-11-18 Thread Liviu Ionescu
- allow to define where the semihosting calls will be addressed Signed-off-by: Liviu Ionescu i...@livius.net --- gdbstub.c | 12 include/sysemu/sysemu.h | 6 ++ qemu-options.hx | 12 +++- vl.c| 49

[Qemu-devel] [PATCH] add -semihosting-config option

2014-11-18 Thread Liviu Ionescu
The usual semihosting behaviour is to process the system calls locally and return; unfortuantelly the initial implementation dinamically changed the target to GDB during debug sessions, which, for the usual arm-none-eabi-gdb, is not implemented. The result was that during debug sessions the

Re: [Qemu-devel] [PATCH] add semihosting-config option

2014-11-18 Thread Peter Maydell
On 18 November 2014 19:00, Liviu Ionescu i...@livius.net wrote: - allow to define where the semihosting calls will be addressed Signed-off-by: Liviu Ionescu i...@livius.net --- gdbstub.c | 12 include/sysemu/sysemu.h | 6 ++ qemu-options.hx | 12

Re: [Qemu-devel] [PATCH] add semihosting-config option

2014-11-18 Thread Liviu Ionescu
On 18 Nov 2014, at 21:44, Peter Maydell peter.mayd...@linaro.org wrote: ...and there isn't much point in these if()s right, removed Also we prefer 'true' and 'false' to TRUE and FALSE. fixed (The change won't hit master until after we release 2.2 in early December, so there's no