Changeset 29310016 in rtems for c/src/libmisc/stackchk/check.c


Ignore:
Timestamp:
01/19/96 22:21:16 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
709b93d
Parents:
eaa442fc
Message:

Added condition compile flag for dump of stack usage information on
system exit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libmisc/stackchk/check.c

    reaa442fc r29310016  
    105105
    106106/*
     107 * Prototypes necessary for forward references
     108 */
     109
     110void Stack_check_Dump_usage( void );
     111
     112/*
    107113 * Fill an entire stack area with BYTE_PATTERN.
    108114 * This will be used by a Fatal extension to check for
     
    162168
    163169  Stack_check_Blown_task = 0;
     170
     171#ifdef STACK_CHECKER_REPORT_USAGE
     172  atexit( Stack_check_Dump_usage );
     173#endif
    164174
    165175  /*
Note: See TracChangeset for help on using the changeset viewer.