From owner-freebsd-arch@FreeBSD.ORG Thu Apr 10 23:21:24 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 1832A271; Thu, 10 Apr 2014 23:21:24 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (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 A92AD11B9; Thu, 10 Apr 2014 23:21:23 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id w7so5098623qcr.8 for ; Thu, 10 Apr 2014 16:21:22 -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=ohlTfnvaL44EmmjhjAnZKYcKof9niXKSatK8D4NYEiM=; b=thg0KgicBfLlOZ4tGfBEdnmIEsq0w4HeiNK2AnugIC5aLgfqaLzaSkTJBN+ICoGYjK VB356O5bRAgsc6vDhRcOTbpP7rHBjKy/3cZ8Ij31D/P4EdDNno6GE+263BkAJrLwhCda 65h80MCub4mMr1FCjGHq4+naAQblRgjCoRi/WDmOzdjXl/4kRQbFgs6WVMyBHBK/jZTE xRrXaceBASlHiRIGmvCaMyS+Y/C7MTGOmQhZpL+q8x6gjXznE3el8sGLSOHwcPFHtF4B WjIDIZlv0mVXpZZOAxZf/GWgAQFGh6KxmwbTSprrVONhj85PihTuA9fsePQV49IsyeHq fLVg== MIME-Version: 1.0 X-Received: by 10.224.47.130 with SMTP id n2mr24563478qaf.26.1397172082830; Thu, 10 Apr 2014 16:21:22 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.50.206 with HTTP; Thu, 10 Apr 2014 16:21:22 -0700 (PDT) In-Reply-To: References: <20140408212435.GA75404@troutmask.apl.washington.edu> <57ECB078-3D7A-4BE8-AA29-1ED7BB347DBD@bsdimp.com> <1396995427.81853.449.camel@revolution.hippie.lan> Date: Thu, 10 Apr 2014 16:21:22 -0700 X-Google-Sender-Auth: FLwCnJTqXwOm1-narAK4-iXZcEc Message-ID: Subject: Re: Time for turning off gdb by default? Or worse... From: Adrian Chadd To: Ed Maste Content-Type: text/plain; charset=ISO-8859-1 Cc: Steve Kargl , Ian Lepore , freebsd-arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 23:21:24 -0000 On 10 April 2014 16:16, Ed Maste wrote: > On 8 April 2014 18:17, Ian Lepore wrote: >> >> Only when building the kernel. For userland we've got nothing. gdb >> aside, even addr2line doesn't work on userland binaries anymore. It >> used to be hard to do debugging for arm. Now it's impossible. > > The elftoolchain-based binutils replacements (nm, addr2line, etc.) > work well, although there are a few remaining features that need to be > implemented in some of them. They also inherently support (at least > some) cross-arch use cases. I'm hopeful that they'll see these > features added, and be imported, before too long. Right, so can we flip back to dwarf-2 and make that stuff continue to somewhat-work until the replacements are ready? :) -a