On Thu, 3 Dec 2009, Igor Skochinsky wrote: > 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.
That would be great indeed. I don't anticipate doing that work myself in a near future though, so please be my guest. ;-) Nicolas _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
