RTEMS | Stack Checker Configuration (&2)

Mohamed Hassan (@Hamzi) gitlab at rtems.org
Sat Jul 13 17:13:02 UTC 2024




Mohamed Hassan commented: https://gitlab.rtems.org/groups/rtems/-/epics/2#note_109306


Hello @joel & @gedare Now I uploaded the most updated [code](https://gitlab.rtems.org/Hamzi/rtems/-/commit/0306a70f4366031e4c8dc5d0b1e4a25b6db60bdc). And I would like your feedback especially in the way the user-defined reporter is configured:
- In `cpukit/include/rtems/confdefs/extensions.h` starting from line 97. There are two types of reporting function: 
1. A quiet reporter which only call fatal error handler.
2. A detailed one.
- Name selecting are done @ `cpukit/include/rtems/stackchk.h`
- At user application, the user can overwrite the detailed reporter function and provide his by redefine the macro `STACK_CHECKER_CURRENT_REPORTER` like `testsuites/libtests/stackchk03/system.h` line 71. to select his own function.

-- 
View it on GitLab: https://gitlab.rtems.org/groups/rtems/-/epics/2#note_109306
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240713/83631569/attachment.htm>


More information about the bugs mailing list