[ECOS] cyg_assert_fail not defined

Hansjörg Petriffer hpetriffer@grips.com
Sun Mar 25 23:07:00 GMT 2001


Hello,
I have one question about debugging. If I run the program with the
configuration tool than it is set a breakpoint on cyg_assert_fali. But this
is unknown on my target. also cyg_test_is_simulator is unknown. Have I made
something wrong?

Thanks a lot!

Hansjoerg

This is my output:
(gdb) break cyg_test_exit
Breakpoint 1 at 0x16cef: file
//d/daten/source/ecos/source/packages/infra/v1_3_1/src/tcdiag.cxx, line 116.
(gdb) break cyg_assert_fail
Function "cyg_assert_fail" not defined.
(gdb) break cyg_test_init
Breakpoint 2 at 0x16c0b: file
//d/daten/source/ecos/source/packages/infra/v1_3_1/src/tcdiag.cxx, line 62.
(gdb) cont
Continuing.
[New thread 1]
[Switching to thread 1]

Breakpoint 2, 0x16c0b in cyg_test_init ()
    at //d/daten/source/ecos/source/packages/infra/v1_3_1/src/tcdiag.cxx:62
62	}
(gdb) set cyg_test_is_simulator=0
Address of symbol "cyg_test_is_simulator" is unknown.
(gdb) cont
Continuing.
INFO:<Calling cyg_uitron_start()>
INFO:<Task 1 running>
INFO:<Assuming kernel timeslicing ENABLED>
INFO:<Testing get_tid and ref_tsk>
PASS:<get_tid, ref_tsk>
INFO:<Testing prio change and start task>
PASS:<Task 2 running>
PASS:<sta_tsk, chg_pri>
INFO:<Testing delay and dispatch disabling>
PASS:<dly_tsk, ena_dsp, dis_dsp>
INFO:<Testing ready queue manipulation>
PASS:<rot_rdq>
INFO:<Testing suspend/resume>
PASS:<Task3 running>
INFO:<Command task 3 inner loop stop>
INFO:<Command task 3 inner loop stop 2>
INFO:<Command task 3 all loops stop>
PASS:<sus_tsk, rsm_tsk, frsm_tsk>
INFO:<Testing sleep/wakeup stuff>
PASS:<Task4 running>
PASS:<wup_tsk, can_wup, slp_tsk, tslp_tsk>
EXIT:<All done>
[New thread 2]
[Switching to thread 2]

Breakpoint 1, 0x16cef in cyg_test_exit ()
    at //d/daten/source/ecos/source/packages/infra/v1_3_1/src/tcdiag.cxx:116
116	        ;
(gdb) *** 09:03:13 Run complete



More information about the Ecos-discuss mailing list