This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Multi thread Debugging
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: [ECOS] Multi thread Debugging
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Thu, 24 Aug 2000 15:17:18 +0100
- CC: "Ecos-List \(E-mail\)" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <8AE4B526B977D411841F00A0CC334020052C23@cuz-exchange.sdesigns.net>
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