This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Debug Problem
- To: ligl <sahala at sz dot huawei dot com dot cn>
- Subject: Re: [ECOS] Debug Problem
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Sun, 30 Jul 2000 00:01:23 +0100
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <008001bff933$9dfe4bc0$c2080b0a@huawei.com.cn>
> ligl wrote:
>
>
> I can debug the "hello" example.but when I reach the "====>" line ,I
> can't continue,why? Thanks very much!
You mean the program crashes or that you can't step it in GDB? If the
latter, this is completely expected because you are switching context into
a different thread[1].
The HAL_THREAD_LOAD_CONTEXT macro never returns.
[1] Well, the startup context isn't a thread in the kernel sense, but
still...
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault