syscall.WaitStatus.TrapCause (method)

3 uses

	syscall (current package)
		syscall_linux.go#L492: func (w WaitStatus) TrapCause() int {

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