syscall.WaitStatus.TrapCause (method)

5 uses

	syscall (current package)
		syscall_bsd.go#L138: func (w WaitStatus) TrapCause() int { return -1 }

	os
		exec_posix.go#L110: 		if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 {
		exec_posix.go#L111: 			res += " (trap " + itoa(status.TrapCause()) + ")"

	src.elv.sh/pkg/eval
		exception.go#L294: 		trap := ws.TrapCause()
		exception.go#L342: func (f exitFieldsStopped) TrapCause() int       { return f.e.TrapCause() }