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: Multi thread Debugging


Fabrice Gautier wrote:
> 
> In order to workaround this problem I put a breakpoint in cyg_thread_create
> and I recorded every thread structures so I can watch them later.
> 
> And doing so I saw that the hwthread->saved_context member is always a NULL
> pointer (for every thread and all the time)

Then you should probably be looking at interrupt_end in
kernel/VERSION/src/intr/intr.cxx to see what's going on there - in
particular, is the "regs" argument valid.

> Is this normal? Is this is not structure used by the stub/gdb to access
> threads informations??

Remind us which target and platform you are using?

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]