[ECOS] Problem: call function

Jonathan Larmour jlarmour@redhat.com
Wed Mar 21 04:22:00 GMT 2001


Zygmunt Mijakowski wrote:
> 
> I've tried to use call function in gdb to start immediately my test
> function.
> gdb> call test_func()
> 
[snip] 
> It works only when scheduler is not running. Otherwise, (all initiated tasks
> are worked correctly) call this function has no result. What is wrong?
> All tests I've done on the PPC simulator.

It's a bit of a stab in the dark, but try disabling
CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM and
CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT

If it works, let us know. If it doesn't, I don't know I'm afraid.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list