/* this function takes the SH-1 exception number and attempts to translate this number into a unix compatible signal value  */
static int computeSignal(int exceptionVector)
/* this function takes the SH-1 exception number and attempts to translate this number into a unix compatible signal value  */
static int computeSignal(int exceptionVector)
{
        case EXC_ILLEGAL_INSTR:
        case EXC_SLOT_ILLEGAL_INSTR:
            sigval = 4;
            break;
        case EXC_DATA_ADDRESS_READ:
        case EXC_DATA_ADDRESS_WRITE:
            sigval = 10;
            break;
        case EXC_TRAPA:
            sigval = 5;
            break;
        default:
            sigval = 7;
            break;
    }
    return (sigval);
}