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


Hi,

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)

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

Thanks

-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 

> -----Original Message-----
> From: Fabrice Gautier [mailto:Fabrice_Gautier@sdesigns.com]
> Sent: Monday, August 21, 2000 7:14 PM
> To: Fabrice Gautier; Ecos-List (E-mail)
> Subject: RE: [ECOS] Multi thread Debugging
> 
> 
> Hi,
> 
> This problem is somewhat annoying... Am I the only one 
> experiencing it?
> 
> Thanks
> 
> Fabrice
> 
> > -----Original Message-----
> > From: Fabrice Gautier [mailto:Fabrice_Gautier@sdesigns.com]
> > Sent: Tuesday, August 15, 2000 11:59 AM
> > To: Ecos-List (E-mail)
> > Subject: [ECOS] Multi thread Debugging
> > 
> > 
> > Hi,
> > 
> > I've some problem with multi-thread debugging. 
> > 
> > I've 4 threads, I can see there state in the process window, 
> > but they all
> > have  the same instruction pointer (which is the running 
> > process instruction
> > pointer)
> > 
> > Thanks
> > -- 
> > Fabrice Gautier
> > fabrice_gautier@sdesigns.com 
> > 
> > 
> 

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