patch to add semihosting control for remote arm targets
Vadim Lebedev
vadim@7chips.com
Wed Mar 12 12:07:00 GMT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-rdi-semihosting.patch
Type: text/x-diff
Size: 2174 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030312/0fe398df/attachment.bin>
More information about the Gdb-patches
mailing list