/src/bin/sh/ |
histedit.c | 171 VTRACE(DBG_HISTORY, ("el_init() %sed\n", 193 VTRACE(DBG_HISTORY, ("line editing disabled\n")); 202 VTRACE(DBG_HISTORY, ("reading $EDITRC\n")); 219 VTRACE(DBG_HISTORY, ("line editing & history disabled\n")); 394 VTRACE(DBG_HISTORY, ("History_FD_Renumbered(%d,%d)-> %d\n", 421 VTRACE(DBG_HISTORY, ("HistClose(%p) != %p\n", cookie, &History_fd)); 449 VTRACE(DBG_HISTORY, ("open_history_file(\"%s\", %#x) -> %d\n", 456 VTRACE(DBG_HISTORY, ("history file fstat(%d) failed [%d]\n", 463 VTRACE(DBG_HISTORY, 483 VTRACE(DBG_HISTORY, ("History_File_Open(\"%s\") -> %d", name, n)) [all...] |
parser.c | 607 VTRACE(DBG_PARSE, ("bogus %snegate command\n", 645 VTRACE(DBG_PARSE, ("simplcmd: bogus TNOT recognized\n")); 688 VTRACE(DBG_PARSE, ("Function '%s' seen @%d\n", 716 VTRACE(DBG_PARSE, ("bogus %snegate simplecmd\n", 746 VTRACE(DBG_PARSE, ("Fix redir %s %d\n", text, err)); 780 VTRACE(DBG_PARSE, ("Here document %d @%d\n", n->type, plinno)); 944 VTRACE(DBG_PARSE, 995 VTRACE(DBG_PARSE, ("Reprocessing %d line here doc from %d\n", 1045 VTRACE(DBG_PARSE, 1054 VTRACE(DBG_PARSE [all...] |
arith_token.c | 99 VTRACE(DBG_ARITH, ("Arith token ARITH_NUM=%jd\n", 117 VTRACE(DBG_ARITH, ("Arith token ARITH_VAR=\"%s\"\n", 128 VTRACE(DBG_ARITH, ("Arith: newline\n")); 260 VTRACE(DBG_ARITH, ("Arith token: %d\n", token));
|
redir.c | 189 VTRACE(DBG_REDIR, ("popredir %d%s: %s", 198 VTRACE(DBG_REDIR, (" closed\n")); 201 VTRACE(DBG_REDIR, 210 VTRACE(DBG_REDIR, (" was closed\n")); 213 VTRACE(DBG_REDIR, 283 VTRACE(DBG_REDIR, ("redir %d (max=%d limit=%ld) ", 289 VTRACE(DBG_REDIR, ("!cloexec\n")); 302 VTRACE(DBG_REDIR, 354 VTRACE(DBG_REDIR, ("fd %d saved as %d%s ", fd, i, 358 VTRACE(DBG_REDIR, ("%s\n", fd == 0 ? "STDIN" : "")) [all...] |
trap.c | 417 VTRACE(DBG_TRAP, ("trap for %d from %s%s%s to %s%s%s\n", signo, 446 VTRACE(DBG_TRAP, ("clear_traps(%d)\n", vforked)); 466 VTRACE(DBG_TRAP, ("free_traps%s\n", traps_invalid ? "(invalid)" : "")); 512 VTRACE(DBG_TRAP, ("setsignal(%d%s) -> %d", signo, 548 VTRACE(DBG_TRAP, (" -> %d", action)); 562 VTRACE(DBG_TRAP, (" getsigaction (%d)\n", errno)); 565 VTRACE(DBG_TRAP, (" [%s]%s%s", sigact==SIG_IGN ? "IGN" : 591 VTRACE(DBG_TRAP, (" tsig=%d\n", tsig)); 647 VTRACE(DBG_TRAP, ("ignoresig(%d%s)\n", signo, vforked ? ", VF" : "")); 683 VTRACE(DBG_TRAP, ("SHELLPROC: %d -> hard_ign\n" [all...] |
expand.c | 151 VTRACE(DBG_EXPAND|DBG_REDIR, ("expandhere(%p)\n", arg)); 154 VTRACE(DBG_EXPAND|DBG_REDIR, ("expandhere() -> %d\n", len)); 270 VTRACE(DBG_EXPAND, ("argstr returning at \"\" " 278 VTRACE(DBG_EXPAND, ("argstr returning at \"%.6s\"..." 328 VTRACE(DBG_EXPAND, ("argstr evalvar " 342 VTRACE(DBG_EXPAND, ("argstr expbackq added \"%s\" " 352 VTRACE(DBG_EXPAND, ("argstr expari " 453 VTRACE(DBG_EXPAND, (" ->\"%s\"", home ? home : "<<NULL>>")); 502 VTRACE(DBG_EXPAND, ("removerecordregions(%d):", endoff)); 504 VTRACE(DBG_EXPAND, (" none\n", endoff)) [all...] |
arithmetic.c | 118 VTRACE(DBG_ARITH, ("Arith var lookup(\"%s\") with lno=%d\n", varname, 161 VTRACE(DBG_ARITH, ("Arith do binop %d (%jd, %jd)\n", op, a, b)); 212 VTRACE(DBG_ARITH, ("Arith primary: token %d op %d%s\n", 276 VTRACE(DBG_ARITH, ("Arith: binop2 %jd op %d (P:%d)%s\n", 324 VTRACE(DBG_ARITH, ("Arith: AND %jd%s\n", a, noeval ? " noeval" : "")); 344 VTRACE(DBG_ARITH, ("Arith: OR %jd%s\n", a, noeval ? " noeval" : "")); 364 VTRACE(DBG_ARITH, ("Arith: ?: %jd%s\n", a, noeval ? " noeval" : "")); 394 VTRACE(DBG_ARITH, ("Arith: %s ASSIGN %d%s\n", val.name, op, 415 VTRACE(DBG_ARITH, ("Arith: comma discarding %jd%s\n", result, 445 VTRACE(DBG_ARITH, ("Arith found %d newlines\n", nls)) [all...] |
jobs.c | 409 VTRACE(DBG_JOBS, ( 477 VTRACE(DBG_JOBS, ("showjob: freeing job %d\n", 619 VTRACE(DBG_JOBS|DBG_INPUT, ("repaired tty process group\n")); 810 VTRACE(DBG_WAIT, ("wait %s%s%sfound %d candidates (last %s)\n", 834 VTRACE(DBG_WAIT, ("wait waiting (%d remain): ", found)); 853 VTRACE(DBG_WAIT, ("found @%d/%d state: %d\n", njobs-i, njobs, 888 VTRACE(DBG_WAIT, ( 895 VTRACE(DBG_WAIT, (" save")); 911 VTRACE(DBG_WAIT, (" (for %s)", fpid)); 916 VTRACE(DBG_WAIT, (" free")) [all...] |
shell.h | 134 #define VTRACE(when, param) do { \ 191 /* use VTRACE(DBG_ALWAYS, (...)) to test this one */ 194 /* DBG_EXTRAS 0 .. 9 (max) only - non-alpha options (no VTRACE !!) */ 214 #define VTRACE(when, param) /* conditional verbose trace */
|
input.c | 427 VTRACE(DBG_INPUT, 471 VTRACE(DBG_INPUT, ("popstring()%s%s%s nl=%d ll=%d \"%.*s\"\n", 556 VTRACE(DBG_INPUT, ("setinputfd(%d, %spush)\n", fd, push?"":"no")); 610 VTRACE(DBG_INPUT, 647 VTRACE(DBG_INPUT,
|
eval.c | 268 VTRACE(DBG_EVAL, ("evaltree(%s) called\n", 414 VTRACE(DBG_EVAL, ("evalloop done\n")); 949 VTRACE(DBG_EVAL, ("evalcommand arg: %s\n", sp->text)); 1009 VTRACE(DBG_CMDS, ("No command name, assume \"command\"\n")); 1025 VTRACE(DBG_CMDS, ("Command %s type %d\n", argv[0], 1046 VTRACE(DBG_CMDS, ("Command \"command\"\n")); 1051 VTRACE(DBG_CMDS, 1134 VTRACE(DBG_EVAL, ("vfork() failed, errno=%d\n", 1145 VTRACE(DBG_EVAL|DBG_ERRS| 1274 VTRACE(DBG_EVAL [all...] |
var.c | 486 VTRACE(DBG_VARS, ("setvareq([%s],%#x) aflag=%d ", s, flags, aflag)); 491 VTRACE(DBG_VARS, ("was [%s] fl:%#x\n", vp->text, 543 VTRACE(DBG_VARS, ("new noset\n")); 556 VTRACE(DBG_VARS, ("new [%s] (%d) %#x\n", s, nlen, vp->flags)); 716 VTRACE(DBG_VARS, ("environment: %s\n", ep[-1])); 1200 VTRACE(DBG_VARS, ("poplocalvar %s\n", vp ? vp->text : "-"));
|
error.c | 224 VTRACE(DBG_ERRS|DBG_PROCS|DBG_CMDS, ("sh_exit(%d)\n", rval));
|
exec.c | 243 VTRACE(DBG_CMDS, ("execve(cmd=%s) returned ENOEXEC\n", cmd)); 664 VTRACE(DBG_CMDS, ("searchexec \"%s\": no change\n", 708 VTRACE(DBG_CMDS, ("searchexec \"%s\" returns \"%s\"\n", name,
|
/src/sys/sys/ |
trace.h | 77 #define TR_STAMP 45 /* user said vtrace(VTR_STAMP, value); */ 87 * Specifications of the vtrace() system call, which takes one argument. 89 #define VTRACE 64+51
|