RTEMS Frequently Asked Questions
The C heap is a region so this should work:
(gdb) p *((Region_Control *)_Region_Information->local_table[1])->Memory->first $9 = {back_flag = 1, front_flag = 8058280, next = 0x7ea5b4, previous = 0x7ea5b0}
In this case, the first block on the C Heap has 8,058,280 bytes left.
RTEMS Frequently Asked Questions
Copyright © 1988-2000 OAR Corporation