RTEMS | Draft: Feature/stack reporter config (!86)

Mohamed Hassan (@Hamzi) gitlab at rtems.org
Tue Jul 23 22:49:12 UTC 2024




Mohamed Hassan commented on a discussion on testsuites/libtests/stackchk/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_109764

 >  #endif
 >  
 >  #define CONFIGURE_INIT
 > +#include "../stackchk03/system.h"

Yeah I'm using almost all files of [stackchk](https://gitlab.rtems.org/Hamzi/rtems/-/tree/feature/stack-reporter-config/testsuites/libtests/stackchk?ref_type=heads) including `init.c`. And I had to include `/stackchk03/system.h` first - before including the confdefs - because it configures:
```
#define CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_STACK_CHECKER_REPORTER  stackchk03_blown_stack_reporter
```
otherwise it will go to the default detailed reporter every time.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_109764
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/20240723/42944632/attachment-0001.htm>


More information about the bugs mailing list