From owner-freebsd-arch@FreeBSD.ORG Wed Jun 11 19:34:19 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 32E579C1 for ; Wed, 11 Jun 2014 19:34:19 +0000 (UTC) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) (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 F21E72C92 for ; Wed, 11 Jun 2014 19:34:18 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id ft15so132960pdb.39 for ; Wed, 11 Jun 2014 12:34:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=m93boXdfh/qmG2iPsPngp/4xeXwSKhcZgvcx8HhEFAU=; b=M/eb8wlBzubMEntl7vjeLe0246n0rdHG75f0Ho9+vB6C3g6GvLBFqDi4I2CuC4xnmn QuxyZsEDrIzJXgKRKQuI0l6g09IKo1SqDlf9D4e3elvZaxIZr8mBDpj7jUHYVyrgeKUV 79jAFudWvY2L/AxZ1DMNqvNm/Tgl+ks0eoEhlKfT7vvNrQ1SPQFkHAQkXYlQAiw22U/L qppO+XwP/6ifS8S7aETlwtgSfxIxvo6aA3jcXnps36bWl3f9xTsawjJiLTB12bXwDizK HMNL1FBIIN6DeJV/MFqtOv1h+n5J0iqMBS7E7dNLIGzfmzri2AovVluEVkyWvHRLrXlW QbGw== X-Gm-Message-State: ALoCoQnxsjU5DDiAeeKbsUAQo9EeWPuwjR8ZfrgKe4bcgmaBsf5KY2tlNPsbqK8FH12jar9YqTCF X-Received: by 10.66.240.130 with SMTP id wa2mr15768891pac.73.1402515252675; Wed, 11 Jun 2014 12:34:12 -0700 (PDT) Received: from lgmac-cvenus.corp.netflix.com (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id is5sm76471126pbb.8.2014.06.11.12.34.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 12:34:12 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_90641765-7931-4A5F-ABC6-B3746065B63A"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: gdb in CURRENT cannot debug userland cores, when is kernel lldb coming? From: Warner Losh In-Reply-To: Date: Wed, 11 Jun 2014 13:34:15 -0600 Message-Id: <33D37CFE-CA6B-4F89-9178-ACF2352CC6C5@bsdimp.com> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.1878.2) Cc: Glen Barber , freebsd-toolchain@freebsd.org, freebsd-arch 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 19:34:19 -0000 --Apple-Mail=_90641765-7931-4A5F-ABC6-B3746065B63A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jun 11, 2014, at 12:53 PM, Craig Rodrigues = wrote: > Hi, >=20 > 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: >=20 > = http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-June/002606= .html >=20 > I needed to add to my /etc/src.conf WITH_LLDB=3Dyes > and compile and install lldb, which *could* analyze the coredump. >=20 > 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. >=20 > Is anyone working on a kernel lldb? When is it expected to be ready? > Will something like it be ready by end of 2014? >=20 > 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. Except for kgdb functionality, the gdb ports (both the 6.x and 7.x ones) = work much better than the gdb in the tree. This may be a good stop-gap = until lldb is ready. Warner --Apple-Mail=_90641765-7931-4A5F-ABC6-B3746065B63A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJTmK83AAoJEGwc0Sh9sBEA3bgP/A6pwOewyvMql3Kt5Q88qLvW ESl2hCAa161UB2X6bB7F/EYCewjO8oF/csSArM/C1dkos2MW4lT+Rx5I9LgVsiSj oXjpRR9xxg3X7T+XXsfdHDYhzZbEFeQCGW5Z/T5lje92te4ZX7GKEUUa//aG+q5a j5XScZIQWxT8/xxWYsJIVFzoZ00HHd+/py3dKuKCoqscXwDybWCpLXdRzHIGUVJ9 t3Mu40e8cCibN7gSOoKefJkch89G+Y3uyqvE5u2fylhnkFRE6QO+rC7Muc6X29Ce 03F34kTU0AUCAXcCG1b2oQ89eKzdb+1cZ4iIg6X3L6AXjJeYhzGDK94oNgpInEbQ Z/FW8xcbONOHphanNOhdtp/iKFmXzZuBrjA+fwNDanu97+85dMNtnQ2Giy/mSQ7K uu1rQOHuMdfP4e0CzP8ped6c7lnartt4C/zl/XUumaKfMz+dRpKb/zwb/ZiFVQB8 Ztl4kfXVAqnOwajL9rdYlIyAh7DWIYfCrE0BP/FrgheHjerdec7NjrWSE+1rsVdG Rz27bTIA6ozi+0m+G+k5MpGo7fo42JCfFAIn0jTH37uhRfX4OMwI1H0Q/Lh79+wT BQhHiiawVxoYQKgt6T/lPBQaASvtK6a6krZrzw8LUjVPURvT3c+TcNvODqSh8YnW gS3P7Qpalel2fkpMNPWf =BOZX -----END PGP SIGNATURE----- --Apple-Mail=_90641765-7931-4A5F-ABC6-B3746065B63A--