This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Debugging support in eCos Kernel
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Donnat Eric <e dot donnat at ri dot silicomp dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 29 Nov 2001 04:17:58 +0000
- Subject: Re: [ECOS] Debugging support in eCos Kernel
- References: <3BEA8E7F.64D4CC6D@ri.silicomp.fr>
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