How does semihosting work in eclipse+gdb+openocd+arm9 env?

Hi all,

I am working in project with ARM922T target with OpenOCD+GDB+Eclipse environment.I want to use semihosting support in openocd for one of my software application.

I am using,

GDB 6.8,OpenOCD 0.4.0-rc2, with ARM_USB_OCD.

I have enabled semihosting throgh monitor commnad.

When i step through the code for printf , it reaches the swi 0x123456 instruction( syscall) and code vectors to swi handler.From there it goes to the swi handler in my crt.S file where i have written some routines for cache enabling.But it shouldnt have gone to handler in crt.s file right?svc 0x123456 should go to openocd semihosting routines.But its not happening?

I have done monitor poll ‘on’.

Do i have to do something more to enable semihosting?

Regards

Vinitha

you should really try the mailing list for such questions…

4/3!!