BSD 3 development
[unix-history] / usr / src / libc / sys / nexect.s
CommitLineData
18e5fa7e
BJ
1# C library -- exect
2
3# exect(file, argv, env);
4#
5# where argv is a vector argv[0] ... argv[x], 0
6# last vector element must be 0
7#
8# The same as execve except that it sets the TBIT causing
9# a trace trap on the first instruction of the executed process,
10# to give a chance to set breakpoints.
11
12.globl _exect
13.globl cerror
14
15 .set execve,59
16_exect:
17 .word 0x0000
18 bispsw $0x10 # set tbit
19 chmk $execve
20 jmp cerror