[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb macros fails



Leon Pollak wrote:
> Hello, all.
>
> I tried to use for the first time the gdb macros rtems_heap_walk and 
> rtems_workspace_walk.
> Both failed saying:
> There is no member named front_flag.
>   
The heap implementation changed around 4.7 so the best
thing to do would be to look at the C implementation of
_Heap_Walk and mimic what it does.

For 4.8, there is also the issue of the transition to
nanoseconds time granularity that the macros don't
know about yet.

The macros should really be in the main RTEMS tree so they
can track the code, be on release branches, and have a better
history.  Any suggestions as to where they should be in the tree?
> I shall be very thankful for clarification where this flag may be (the macros 
> file has the last change dated 7Aug2006, rtems is 4.7).
>
> Many thanks ahead.
>