This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Multi-thread debugging with eCos on i386 pc platform


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]