From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: Fabrice Gautier Cc: "GDB (E-mail)" Subject: RE: Multi-thread debugging with eCos on i386 pc platform Date: Fri, 25 Aug 2000 12:24:00 -0000 Message-id: References: <8AE4B526B977D411841F00A0CC334020052C2C@cuz-exchange.sdesigns.net> X-SW-Source: 2000-08/msg00146.html > access threads information. > > More precisely, in the switch_to_thread function we have: > > select_frame (get_current_frame (), 0); > > that doesn't select the correct frame. > Yup, i noticed this porting to BeOS. I have fixes for it. > Even more deeper, this is the read_fp() function that at some point always > return the same frame pointer (that is the one from the running thread) I fixed this too. > > Can someone tell me how does read_fp() should work in order to get the > correct frame pointer? There may be an bug in eCos (see a discussion about > that on the eCos mailing list archives) and I would like to know at wich > point in this process there is an interaction between gdb and the target. > > Thank you > >