Changeset 92ff266 in rtems


Ignore:
Timestamp:
04/19/99 22:34:20 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b4b8d2eb
Parents:
07b8f26
Message:

Added debugging hints to the FAQ.

Location:
doc/FAQ
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/FAQ/FAQ.texi

    r07b8f26 r92ff266  
    6464
    6565@include basic.texi
     66@include debug.texi
    6667
    6768@ifinfo
     
    7879@menu
    7980* Basic Information::
     81* Debugging Hints::
    8082@end menu
    8183
  • doc/FAQ/Makefile

    r07b8f26 r92ff266  
    2020
    2121GENERATED_FILES= \
    22     basic.texi
     22    basic.texi debug.texi
    2323
    2424FILES=$(PROJECT).texi $(GENERATED_FILES)
     
    6666            -n "" ${*}.t
    6767
    68 #target.texi: target.t Makefile
    69 #       $(BMENU) -p "Introduction" \
    70 #           -u "Top" \
    71 #           -n "Makefiles" ${*}.t
     68debug.texi: debug.t Makefile
     69        $(BMENU) -c -p "" \
     70            -u "Top" \
     71            -n "" ${*}.t
  • doc/FAQ/debug.t

    r07b8f26 r92ff266  
    2828
    2929(gdb) p *(Heap_Block *)_Workspace_Area->first
    30 $3 = {back_flag = 1, front_flag = 68552, next = 0x1e260, previous = 0x1e25c}
     30$3 = @{back_flag = 1, front_flag = 68552, next = 0x1e260, previous = 0x1e25c@}
    3131
    3232In this case, I had 68552 bytes left in the workspace.
     
    3737
    3838(gdb) p *((Region_Control *)_Region_Information->local_table[1])->Memory->first
    39 $9 = {back_flag = 1, front_flag = 8058280, next = 0x7ea5b4,
    40   previous = 0x7ea5b0}
     39$9 = @{back_flag = 1, front_flag = 8058280, next = 0x7ea5b4,
     40  previous = 0x7ea5b0@}
    4141
    4242In this case, the first block on the C Heap has 8,058,280 bytes left.
Note: See TracChangeset for help on using the changeset viewer.