This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem: call function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]