[uClinux-dev] for JEENI users

Vadim Lebedev vadim at 7chips.com
Wed Mar 12 07:11:41 EST 2003


Hello

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.


Enjoy
Vadim
-------------- 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://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20030312/ddc9943a/attachment.bin>


More information about the uClinux-dev mailing list