This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Problem: call function
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Problem: call function
- From: "Zygmunt Mijakowski" <mijakowski at rts dot com dot pl>
- Date: Wed, 21 Mar 2001 12:53:58 +0100
- Organization: RTS Szczecin, Poland
Hi all,
I've tried to use call function in gdb to start immediately my test
function.
gdb> call test_func()
where:
void test_func(void)
{
diag_printf("test");
}
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.
Regards
Zygmunt Mijakowski
mijakowski@rts.com.pl