Date: Wed, 11 Jun 2014 11:53:20 -0700 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: freebsd-arch <freebsd-arch@freebsd.org> Cc: Glen Barber <gjb@freebsd.org>, freebsd-toolchain@freebsd.org Subject: gdb in CURRENT cannot debug userland cores, when is kernel lldb coming? Message-ID: <CAG=rPVf%2B6JWeGMdgfXdgnZRm6nyFQ4KbjqU-co0apgxjf-iEKg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVf%2B6JWeGMdgfXdgnZRm6nyFQ4KbjqU-co0apgxjf-iEKg>