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]

Re: Debug Problem


> 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

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