[ECOS] Debugging support in eCos Kernel

Jonathan Larmour jlarmour@redhat.com
Mon Nov 19 07:48:00 GMT 2001


Donnat Eric wrote:
> 
> I was wondering why (in file dbg_gdb.cxx), there
> were any protection against
>  Cyg_Scheduler::get_current_thread() returning NULL
> 
> in functions dbg_currthread() and dbg_currthread_id()
> 
> -- kind of : if !thread return 0;
> 
> I think this is an omission since it prevents a system
> with its own stubs to get an early breakpoint (before
> the scheduler start).
> 
> I discovered this playing with the stubs and eCos
> synthetic.
> 
> Hope that it will be fixed in future releases,

Not without a tested patch or a bug report in bugzilla! (
http://sources.redhat.com/ecos/problemreport.html ). Better still, submit
the patch *in* a bug report.

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



More information about the Ecos-discuss mailing list