Date: Wed, 11 Jun 2014 13:34:15 -0600 From: Warner Losh <imp@bsdimp.com> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: Glen Barber <gjb@freebsd.org>, freebsd-toolchain@freebsd.org, freebsd-arch <freebsd-arch@freebsd.org> Subject: Re: gdb in CURRENT cannot debug userland cores, when is kernel lldb coming? Message-ID: <33D37CFE-CA6B-4F89-9178-ACF2352CC6C5@bsdimp.com> In-Reply-To: <CAG=rPVf%2B6JWeGMdgfXdgnZRm6nyFQ4KbjqU-co0apgxjf-iEKg@mail.gmail.com> References: <CAG=rPVf%2B6JWeGMdgfXdgnZRm6nyFQ4KbjqU-co0apgxjf-iEKg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <rodrigc@FreeBSD.org> = 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33D37CFE-CA6B-4F89-9178-ACF2352CC6C5>