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]

Re: Debugging support in eCos Kernel


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


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