Are rtems-gdb-macros-4.11 supposed to work?
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Dec 21 14:22:38 UTC 2010
On 12/21/2010 07:15 AM, Peer Stritzinger wrote:
> Hi,
>
> I have trouble using the RTEMS helper macros for gdb getting:
>
> (gdb) rtems_tasks
> No symbol "_Thread_Executing" in current context.
>
> I just downloaded the current version of
>
> rtems-testing/sim-scripts/rtems-gdb-macros-4.11
>
> But it has the same problem.
>
> Is this a known problem or am I doing something wrong? How can I fix it?
Yes they are supposed to work and no they do not work. :(
With the recent score changes to have a pluggable scheduler
and capture "per cpu" information in a data structure so
we can have SMP one day, the names of some variables changed.
grep for _Thread_Executing. It is now a macro that dereferences
the per cpu structure.
Every field in that per cpu structure has macros so the code
did not change but the underlying implementation did.
I am on holiday until after the first of the year but will try to
monitor email. If you can put a patch together, it would be
appreciated.
> Regards,
> Peer Stritzinger
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list