Changeset da9b538 in rtems
- Timestamp:
- Jun 23, 2010, 11:28:46 PM (9 years ago)
- Branches:
- 4.11, master
- Children:
- d290bbb
- Parents:
- ef08dc1
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
ref08dc1 rda9b538 1 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com> 2 3 * libmisc/stackchk/check.c: More clean up and coverage improvements.. 4 1 5 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com> 2 6 -
cpukit/libmisc/stackchk/check.c
ref08dc1 rda9b538 144 144 }; 145 145 146 if (Stack_check_Initialized)147 146 return; 148 147 … … 165 164 (char *) _CPU_Interrupt_stack_low; 166 165 Stack_check_Dope_stack(&Stack_check_Interrupt_stack); 167 }166 } 168 167 #endif 169 168 … … 213 212 * the following message out. 214 213 */ 214 void Stack_check_report_blown_task( 215 Thread_Control *running, 216 bool pattern_ok 217 ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; 218 215 219 void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) 216 220 { … … 312 316 } 313 317 318 319 /* 320 * Let's report as much as we can. 321 */ 322 if ( !sp_ok || !pattern_ok ) { 323 Stack_check_report_blown_task( _Thread_Executing, pattern_ok ); 324 /* DOES NOT RETURN */ 325 } 326 314 327 /* 315 328 * The Stack Pointer and the Pattern Area are OK so return false. 316 329 */ 317 if ( sp_ok && pattern_ok ) 318 return false; 319 320 /* 321 * Let's report as much as we can. 322 */ 323 Stack_check_report_blown_task( _Thread_Executing, pattern_ok ); 324 return true; 330 return false; 325 331 } 326 332 … … 328 334 * Stack_check_find_high_water_mark 329 335 */ 330 void *Stack_check_find_high_water_mark(336 static inline void *Stack_check_find_high_water_mark( 331 337 const void *s, 332 338 size_t n … … 491 497 print_context = NULL; 492 498 print_handler = NULL; 493 494 499 } 495 500
Note: See TracChangeset
for help on using the changeset viewer.