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]
Other format: [Raw text]

Debugging support in eCos Kernel


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


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