GDB macro

Joel Sherrill joel.sherrill at OARcorp.com
Mon Mar 9 13:37:05 UTC 2009


Leon Pollak wrote:
> Hello, all.
>
> I tried to use the gdb macro rtems_malloc_walk in my 4.8 - it fails with the 
> error: "there is no member named front_flag".
>
> Tracing the issue, I found reference to this front_flag in the 
> rtems_helper_score_heap. Structure of type Heap_Block really does not contain 
> such a flag in 4.8 and nothing that can look similar to it.
>
> Any hints?
>   

Grrr.. the heap data structure changed.  Look in heap.h and
(probably) _Heap_Allocate or _Heap_Walk for the current way
to walk the heap.
> Thanks.
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list