Joel Sherrill started a new discussion on 
testsuites/psxtests/psxsignal10/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/868#note_137026

 > +  rtems_test_assert( !status );
 > +  status = sigdelset( &all_masked, SIGILL );
 > +  rtems_test_assert( !status );
 > +
 > +  memset( &fault_act, 0, sizeof( fault_act ) );
 > +  fault_act.sa_handler = fault_handler;
 > +  fault_act.sa_mask = all_masked;
 > +
 > +  status = sigprocmask( SIG_SETMASK, &fault_act.sa_mask, &oset );
 > +  rtems_test_assert( !status );
 > +  status = sigaction( SIGILL, &fault_act, &fault_oact );
 > +  rtems_test_assert( !status );
 > +
 > +  if ( sigsetjmp( fault_jmp, 1 ) == 0 ) {
 > +    /* Generate machine exception */
 > +    _CPU_Instruction_illegal();

Will this test fail on many BSPs? This requires having an exception handler do 
the right thing. I don't think that's universally the case. @kinsey?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/868#note_137026
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to