cvs commit: src/sys/conf kern.pre.mk

John Baldwin jhb at FreeBSD.org
Mon Jan 17 19:38:50 PST 2005


On Monday 17 January 2005 10:32 pm, David E. O'Brien wrote:
> obrien      2005-01-18 03:32:53 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/conf             kern.pre.mk
>   Log:
>   While we're building kernels -g (ie, makeoptions DEBUG=-g), use -O as it
>   provides truer debugger stack traces.  For those that want to stick with
>   -O2 kernel builds, one should probably add -fno-optimize-sibling-calls
>   so that each stack frame as a frame pointer.
>   It is semi-promissed by the Release Engineers that when RELENG_6 is
>   created we go back to -O2.
>
>   Desired by:     scottl, jhb

Thank you.  To world: this change fixes the problem of "missing": frames in 
ddb backtraces that have been happening recently.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list