From owner-freebsd-arch@FreeBSD.ORG Wed Jun 11 19:56:30 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CED2FF61; Wed, 11 Jun 2014 19:56:30 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (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 C62262ECD; Wed, 11 Jun 2014 19:56:29 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id c11so137067lbj.17 for ; Wed, 11 Jun 2014 12:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=FTxSneSce6s4taSh930jnBbfT0xTck8ic2udZd0dGvU=; b=MeL/VTIEis9Eq2PJyp7QFRjDc209pU469KuR1Jy6nEw78xRrh8TrjTExSRRIS78tyK oQInvdyF+8EAKRASPkEKhXnSI4xJbo9A1xfxw6gZiphC/9dBSXs/wuVvqFXVnirFAfuC R+sTCGrU1ZTBWlqkPmkAPDJLXjjjF2c823V0zUgi+p6BtKEFRudG30bX6gJkw0ErchK5 LT7wOsw8tl/MZe2pr49pppliJfqy5J2Nk9bVFwEanXeGthcmwTmsVGfnZ9mAB1i6QwLs AwNVSGkFtHC0o/LgFzyf2v5TqyPpVQGGjDHvJcWNfz6rYwtjhVtzw7Ac/Q8bpieiPYHc OmhQ== MIME-Version: 1.0 X-Received: by 10.112.130.229 with SMTP id oh5mr8276111lbb.49.1402516587680; Wed, 11 Jun 2014 12:56:27 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Wed, 11 Jun 2014 12:56:27 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jun 2014 12:56:27 -0700 X-Google-Sender-Auth: WLSqG3F7Dxwhn581ArLQWJePWi4 Message-ID: Subject: Re: gdb in CURRENT cannot debug userland cores, when is kernel lldb coming? From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 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:56:30 -0000 On Wed, Jun 11, 2014 at 12:30 PM, Dimitry Andric wrote: > On 11 Jun 2014, at 20:53, Craig Rodrigues wrote: >> >> 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 > > Can you please post the output of the following? > > objdump -W /usr/local/sbin/libvirtd | head > > -Dimitry > $ objdump -W /usr/local/sbin/libvirtd | head /usr/local/sbin/libvirtd: file format elf64-x86-64-freebsd The section .debug_aranges contains: Length: 92 Version: 2 Offset into .debug_info: 0 Pointer Size: 8 Segment Size: 0 -- Craig