suresh wrote:
> Clifford Slocombe wrote:
>> suresh wrote:
>>> ...iam running in simulator(arm realview debugger)
>>
>> Commercial development tools are normally supported by the tool vendor -
>> perhaps you might try that route. After all, you probably paid for
>> support when you bought the tool.
>>
>> I took a quick look at http://www.keil.com/support/ and can find no
>> evidence that a host file system (or semi-hosting) is supported.
>>
>> Clifford
>
> Hi all,
> I cannot get support from arm ,since i have used the gnu tool chain for
> cross compilation.Can any one could tell me the c FILE structure
> definition and the structure elements.Iam planning to force the file
> pointer to a memory location through load option in debugger, instead of
> from the hard disk.Is there any problem inthat or will it work
> Thanks in advance
> suresh
Keil uses it's own simulator as far as I know. I think the
RealView-simulator is a completly different product (although Keil is
now owned by ARM). Semihosting is documented in the ARM manuals (just
did a quick browse: Compiler&Libary-Manual and ARM Armulator-Manual).
The Simulator uses SWI-calls for the low-level IO-functions which are
processed by the simulator. So you just have to implement the syscalls
with SWIs. Basicly the same as in the gdb-simulator (also called
Armulator). See the newlib-code the code for the syscalls already
include SWI-handling ("AngelSWI") so there is no need to reinvent "all"
wheels.