While chasing down an odd issue with alignment faults I activated debugging in bin/sh. bin/sh/Makefile has a commented out line (# DEBUG_FLAGS+= -g -DDEBUG=2 -fno-inline) to do this so that's what I did. This fails to compile in bin/sh/jobs.c in vforkexecshell(). The debug TRACE() tries to print variables which don't exist. The patch below fixes the compilation problem, but I'm unsure if it's printing the relevant information. Regards, Kristof diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index 335d2ca..9027b8c 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c _at__at_ -893,8 +893,7 _at__at_ vforkexecshell(struct job *jp, char **argv, char **envp, const char *path, int i struct jmploc jmploc; struct jmploc *savehandler; - TRACE(("vforkexecshell(%%%td, %p, %d) called\n", jp - jobtab, (void *)n, - mode)); + TRACE(("vforkexecshell(%%%td, %d) called\n", jp - jobtab, idx)); INTOFF; flushall(); savehandler = handler;Received on Sun Apr 01 2012 - 12:14:56 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC