Changes between Version 12 and Version 13 of TBR/Review/Debugging/Start


Ignore:
Timestamp:
Aug 16, 2007, 10:43:38 PM (12 years ago)
Author:
Rsg
Comment:

/* Stack Checker */

Legend:

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

    v12 v13  
    409409for RTEMS users to catch the most common mistake in multitasking
    410410systems ... too little stack space.  Suggestions and comments are appreciated.
     411==  Optional Compile-time Selections  ==
     412
     413If someone ever gets VERY VERY desperate, Joel recently added some conditionals which can turn on walking
     414the heap and checking the stack EVERY time you enter an RTEMS dispatching disabled critical section.
     415You have to recompile but since this is such a heavy handed thing to have on, that seemed a fair trade off.
     416The "heavy stack check" feature is enabled by defining RTEMS_HEAVY_STACK_DEBUG, and the "heavy malloc check"
     417by defining RTEMS_HEAVY_MALLOC_DEBUG; in both cases, do this before you build and install RTEMS.
    411418==  NOTES  ==
     419
    412420
    413421#Stack usage information is questionable on CPUs which push large holes on stack.