Hello Nicolas,

Thursday, December 3, 2009, 7:58:05 AM, you wrote:


NP> Semihosting enables code running on an ARM target to use the I/O
NP> facilities on the host computer. The target application must be linked
NP> against a library that forwards operation requests by using the SVC
NP> instruction that is trapped at the SWI vector by the debugger. The "hosted"
NP> library version provided with CodeSourcery's Sourcery G++ Lite for ARM EABI
NP> is one example.

NP> This is currently available for ARM9 processors, but any ARM variant should
NP> be able to support this with little additional work.

GDB protocol has support for target syscalls:
http://sourceware.org/gdb/download/onlinedocs/gdb_37.html#SEC686
Might be worth adding an option to translate semihosting calls into
File-I/O requests. I think this should e.g. allow IDEs to print the
target output into the "Console" window.

-- 
WBR,
 Igor                            mailto:skochin...@mail.ru

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to