When debugging remote arm targets using devices such as JEENI from epitools the semihosting function slows execution by the target of SWI instruction nearly 100-fold. This is especially annoying when you try to debug linux kernel on the target as it uses SWI to implement system calls. The attached patch adds a set rdisemihosting {on/off/1/0/true/false} command to the gdb which allows one to enable or disable semihosting suppport. the command shoud be executed before target rdi .... command The patch is against gdb 5.3 but i think will apply to older versions cleanly too. Chang log entry Wed Mar 12 13:00:00 2003 Vadim Lebedev (vadim at 7chips.com) * remote-rdi.c add set rdisemihosting command