Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 4 and Version 5 of TBR/Review/Debugging/Start


Ignore:
Timestamp:
10/04/05 20:59:52 (19 years ago)
Author:
JoelSherrill
Comment:

/* How much memory is left in the RTEMS Workspace? */ Fix formatting errors.

Legend:

Unmodified
Added
Removed
Modified
  • TBR/Review/Debugging/Start

    v4 v5  
    120120
    121121{{{
    122   (gdb) p '''(Heap''Block ''')''Workspace_Area->first
    123   $3 <tt> {back''flag </tt> 1, front''flag <tt> 68552, next </tt> 0x1e260, previous = 0x1e25c}
     122  (gdb) p (Heap_Block *) Workspace_Area->first
     123  $3 = {back_flag=1, front_flag=68552, next=0x1e260, previous=0x1e25c}
    124124}}}
    125125
    126  * ''Workspace''Area is the variable name of the RTEMS Workspace Heap control block.
    127  * '''(Heap''Block ''')''Workspace_Area->first is the contents of the first heap block information.
     126 * ''Workspace_Area'' is the variable name of the RTEMS Workspace Heap control block.
     127 * ''(Heap_Block *) _Workspace_Area->first'' is the contents of the first heap block information.
    128128
    129129Just as with the C Program Heap, the number was even indicating it is free.  In this case, I had 68552 bytes left in the workspace.