From owner-freebsd-arch@FreeBSD.ORG Wed Jun 11 18:53:23 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 857DD858; Wed, 11 Jun 2014 18:53:23 +0000 (UTC) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8BFB2846; Wed, 11 Jun 2014 18:53:22 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id w7so92521lbi.23 for ; Wed, 11 Jun 2014 11:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=XyHpVN1uLydaUxAjuDK1fPZd5lVfXMXq0rawcIqqNa0=; b=g+TGWPFID1cESnUC0EorbQqEKVIWdYokb7HY0x2mOQmY5B7GFRpoHiWU8f5hOCFZ2y n3Oo+0na/tnxuCO2rJl9fUQjkEFovjXGzQsUd+qBDg5H/tQkjXQ7VY8M8ipTBcakwSBy hc17wJiM9ZFmG3xo6aKBFm/XvHzPnrWII8eoW7g4azYMOA3GdoqfvpF5H/QRJubWkalh sH2TCCkTXUkJ9xikvbzQsFpNEj6kTf/B3EUzxPi/QopgjQCYpTqAp6xZRYujZDfDdiqg KEo8nbLFgYfU4iE5uHYFl0gGo+r/2++BAoVEQNZK/DRgRywyM/rP2lhid/04abxLwJxE GOAg== MIME-Version: 1.0 X-Received: by 10.152.10.40 with SMTP id f8mr2691165lab.75.1402512800426; Wed, 11 Jun 2014 11:53:20 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Wed, 11 Jun 2014 11:53:20 -0700 (PDT) Date: Wed, 11 Jun 2014 11:53:20 -0700 X-Google-Sender-Auth: 7iH_fC4dER1xYk2-3F0q1VaNaFw Message-ID: Subject: gdb in CURRENT cannot debug userland cores, when is kernel lldb coming? From: Craig Rodrigues To: freebsd-arch Content-Type: text/plain; charset=ISO-8859-1 Cc: Glen Barber , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 18:53:23 -0000 Hi, Recently when trying to debug some coredumps in CURRENT from a userland process in the devel/libvirt port, I found that the gdb in base could not get a backtrace from the core file: http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-June/002606.html I needed to add to my /etc/src.conf WITH_LLDB=yes and compile and install lldb, which *could* analyze the coredump. I realize that gdb in base is on its way out the door, and that clang and lldb are the new world order. However, one of the main blockers for removing gdb from base is that there is no equivalent to kgdb in the lldb world. Is anyone working on a kernel lldb? When is it expected to be ready? Will something like it be ready by end of 2014? Even though this may not be an issue in the stable/10 branch, it would be nice to have a kernel lldb debugger ready by the next 10.1R if possible. -- Craig