Ticket #3265: arch_int.c_r28821.diff

File arch_int.c_r28821.diff, 486 bytes (added by oco, 16 years ago)
  • arch_int.c

     
    786786        if (sigaction(signal, NULL, &action) == 0
    787787            && action.sa_handler != SIG_DFL
    788788            && action.sa_handler != SIG_IGN) {
    789             send_signal(thread->id, SIGSEGV);
     789            send_signal(thread->id, signal);
    790790        } else if (user_debug_exception_occurred(type, signal))
    791791            send_signal(team_get_current_team_id(), signal);
    792792    } else {