On Sun, Apr 01, 2012 at 04:14:24PM +0200, Kristof Provost wrote:
> 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.

Thanks, I committed a fix. I fairly arbitrarily chose some information
to print, since I do not use -DDEBUG=2 myself.

-- 
Jilles Tjoelker
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to