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]

Problem: call function


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







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