qemu-irix/include
Liviu Ionescu a38bb0792c Add the "-semihosting-config" option.
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 semihosting
calls were discarded.

This patch adds a configuration variable and an option to set it on the
command line:

    -semihosting-config [enable=on|off,]target=native|gdb|auto

This option enables semihosting and defines where the semihosting calls will
be addressed, to QEMU ('native') or to GDB ('gdb'). The default is auto, which
means 'gdb' during debug sessions and 'native' otherwise.

Signed-off-by: Liviu Ionescu <ilg@livius.net>
Message-id: 1416341957-9796-1-git-send-email-ilg@livius.net
[PMM: moved declaration and definition of semihosting_target to
 gdbstub.h and gdbstub.c to fix build failure on linux-user]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-12-11 12:07:48 +00:00
..
block trivial patches for 2014-11-11 2014-11-11 14:50:10 +00:00
disas
exec Add the "-semihosting-config" option. 2014-12-11 12:07:48 +00:00
fpu
hw hmp: fix regression of HMP device_del auto-completion 2014-11-27 14:36:20 +00:00
libdecnumber
migration
monitor
net
qapi
qemu memory: expose alignment used for allocating RAM as MemoryRegion API 2014-11-23 12:11:30 +02:00
qom
sysemu pc: kvm: check if KVM has free memory slots to avoid abort() 2014-11-23 12:11:29 +02:00
ui
config.h
elf.h
glib-compat.h
qemu-common.h pidfile: stop making pidfile error a special case 2014-11-02 10:04:34 +03:00
qemu-io.h
trace-tcg.h
trace.h