[ECOS] Debug Problem

ligl sahala@sz.huawei.com.cn
Sat Jul 29 01:07:00 GMT 2000




 
I can debug the "hello" example.but when 
I reach the "====>" line ,I can't continue,why? Thanks very 
much!
 
        void 
Cyg_Scheduler::start()         
{             
CYG_REPORT_FUNCTION();         
            // Get the first 
thread to run from scheduler         
    register Cyg_Thread *next = 
scheduler.schedule();
 
        
    CYG_ASSERTCLASS( next, "Bad initial thread" );
 
        
    need_reschedule = false;    // finished 
rescheduling             
current_thread = next;      // restore current thread 
pointer
 
        #ifdef 
CYGVAR_KERNEL_COUNTERS_CLOCK         
    // Reference the real time clock. This ensures that at least 
one             // reference to 
the kernel_clock.o object exists, without which     
        // the object will not be included while 
linking.             
CYG_REFERENCE_OBJECT( Cyg_Clock::real_time_clock );     
    #endif
 
        
    // Let the interrupts 
go         
    Cyg_Interrupt::enable_interrupts();     
====>  HAL_THREAD_LOAD_CONTEXT( 
&next->stack_ptr );        
        }
 



More information about the Ecos-discuss mailing list