Mohamed Hassan commented on a discussion on testsuites/libtests/stackchk06/config.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_117343 > + > +#include <rtems.h> > +#include <rtems/score/thread.h> > +#include <rtems/bspIo.h> > + > +const char rtems_test_name[] = "STACKCHK06"; > + > +RTEMS_NO_RETURN void __stack_chk_fail(void); > + > +/* configuration information */ > +#define CONFIGURE_STACK_CHECKER_ENABLED > + > +RTEMS_NO_RETURN void __stack_chk_fail(void) > +{ > + // Custom handling for stack overflow > + printk("Custom stack overflow handler invoked\n"); ok noted. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_117343 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs