This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem: call function
- To: Zygmunt Mijakowski <mijakowski at rts dot com dot pl>
- Subject: Re: [ECOS] Problem: call function
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 21 Mar 2001 12:21:10 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <005401c0b1fd$9d1b7b00$1a00a8c0@rts.com.pl>
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