This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Multi-thread debugging with eCos on i386 pc platform
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: RE: Multi-thread debugging with eCos on i386 pc platform
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: Fri, 25 Aug 2000 12:24:07 -0700 (PDT)
- cc: "GDB (E-mail)" <gdb at sourceware dot cygnus dot com>
> 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
>
>