From owner-freebsd-hackers@freebsd.org Wed Aug 3 19:54:29 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0677FBAE025 for ; Wed, 3 Aug 2016 19:54:29 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2E71433 for ; Wed, 3 Aug 2016 19:54:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA17189; Wed, 03 Aug 2016 22:54:25 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1bV2FF-000NT5-3e; Wed, 03 Aug 2016 22:54:25 +0300 Subject: Re: How to get better debugging for the kernel. To: Ryan Stone References: Cc: FreeBSD Hackers From: Andriy Gapon Message-ID: <5cc825d5-9ed7-efac-b711-60a8d4b18cc4@FreeBSD.org> Date: Wed, 3 Aug 2016 22:53:30 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 19:54:29 -0000 On 03/08/2016 20:14, Ryan Stone wrote: > Are you using the kgdb from the base system or from ports(it's a part of > devel/gdb)? The kgdb in ports is significantly better. If you haven't > tried the version from ports already, definitely do that first. kgdb 7.x from ports is certainly more powerful than the old base kgdb, but clang with O2 optimizations seems to be too much even for it. -- Andriy Gapon