RTEMS | Revert "libmisc/stackchk: Change stack checker reporter function signatures" (!258)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Oct 18 00:16:26 UTC 2024



Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/258

Project:Branches: sebhub/rtems:stackchk-revert-to-simple-reporter to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber



## Summary

Revert "libmisc/stackchk: Change stack checker reporter function signatures"

This reverts commit c1aa06dbd2f055afd14415f3e6f63fb74765d6ff.

Extending the rtems_stack_checker_info like this breaks the existing
visitor API used by rtems_stack_checker_iterate().  After review, using
an information structure contradicts the intention of the reporter to
allow a minimal reporting.  Filling up the information structure with
all the details would pull in several dependencies, like
_Thread_Get_name().  The API should be improved to provide the user with
the necessary information from the TCB without having to access members
directly.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/258
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/20241018/6472660b/attachment.htm>


More information about the bugs mailing list