Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 15:33:44 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Peter Steele <psteele@maxiscale.com>
Subject:   Re: ntpd hangs under FBSD 8
Message-ID:  <86aauxe65z.fsf@ds4.des.no>
In-Reply-To: <20100225141905.GA31703@wep4035.physik.uni-wuerzburg.de> (Alexey Shuvaev's message of "Thu, 25 Feb 2010 15:19:05 %2B0100")
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D5C73@MBX03.exg5.exghost.com> <20100220113349.GA22800@kiwi.sharlinx.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60B7@MBX03.exg5.exghost.com> <bc2d971002220751i256f2329g3f29efdc763bca97@mail.gmail.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60DD@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95389@MBX03.exg5.exghost.com> <20100224190035.GA5026@wep4035.physik.uni-wuerzburg.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95522@MBX03.exg5.exghost.com> <20100225141905.GA31703@wep4035.physik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> writes:
> The flag you should look at is '-g'. GCC supports debuggind symbols
> together with -O2 optimizations.

It is generally not a good idea to use -O2 for debugging versions, since
gcc will optimize away many local variables.

DES
-- 
Dag-Erling Smørgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aauxe65z.fsf>