From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Gautier To: 'Nick Garnett' , Fabrice Gautier Cc: ecos-discuss@sourceware.cygnus.com Subject: RE: [ECOS] Multi thread Debugging Date: Fri, 01 Sep 2000 14:18:00 -0000 Message-id: <8AE4B526B977D411841F00A0CC334020052C3E@cuz-exchange.sdesigns.net> X-SW-Source: 2000-09/msg00008.html > -----Original Message----- > From: Nick Garnett [ mailto:nickg@cygnus.co.uk ] > Subject: Re: [ECOS] Multi thread Debugging > > [snipped most code - it looks OK apart from the comment below] > > > This may be the problem, isn't EBX callee-saved? I would pop into EAX, Yes thats it! In fact there is another place where i used ebx and i should not. I should have use ecx instead. Replace very occurence of ebx by ecx in my changes and it works perfectly now. Well in fact thi only change the context stored by eCos, there is a bit more work to do to get this context in gdb.... Thanks -- Fabrice Gautier fabrice_gautier@sdesigns.com