From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Fabrice Gautier Cc: "Ecos-List \(E-mail\)" Subject: Re: [ECOS] Multi thread Debugging Date: Thu, 24 Aug 2000 07:17:00 -0000 Message-id: <39A52E6E.1CFF3446@redhat.co.uk> References: <8AE4B526B977D411841F00A0CC334020052C23@cuz-exchange.sdesigns.net> X-SW-Source: 2000-08/msg00249.html 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