Multi-thread debugging with eCos on i386 pc platform

Daniel Berlin dan@cgsoftware.com
Fri Aug 25 12:24:00 GMT 2000


> 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
> 
> 



More information about the Gdb mailing list