This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Debugging support in eCos Kernel
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] Debugging support in eCos Kernel
- From: Donnat Eric <e dot donnat at ri dot silicomp dot fr>
- Date: Thu, 08 Nov 2001 14:54:07 +0100
- Organization: Silicomp RI
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,
thanks
--
Eric DONNAT
Silicomp Research Institute
2 avenue de Vignate, 38610 Gieres, France.
Phone +33 476 63 48 85 Fax +33 476 51 05 32
http://www.ri.silicomp.com