From owner-freebsd-arch@FreeBSD.ORG Thu Apr 10 23:34:12 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 F021F58A for ; Thu, 10 Apr 2014 23:34:12 +0000 (UTC) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) (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 BC9F012A7 for ; Thu, 10 Apr 2014 23:34:12 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id y10so4470631pdj.41 for ; Thu, 10 Apr 2014 16:34:06 -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:content-transfer-encoding:message-id:references :to; bh=qjcnLlvfWGNngxzTIzGpFyjABpP9h5i6jsMvKlkQPxA=; b=faaA71iXlc4MovqVmUOiD1glLU/tNek4hQ9RR5/4wlbj/1DrZDiIXW1YpKynAoQAQh V/zS2z0TYPc/hfUchHqx8599uCYT8YmW6OSdnitW0iDqcvwfVnUpW3qEHY0FSGbjRMzg do7YqsbOJtJOfv1qYLUpMiaydtH8OZpfX8wtdddk0k1GzMT7kl3/4UXW6t66rMUQrLI3 b+Xk/aFBuduRKXe7D+KqBZW1o9XMy+2JZ2aj849AgSfa7Svgr2kmDNnEJ6cjuhOrxi97 5Nj4ooRKsTFHPpRzIrycKU2ZkJEnmA26zJitLFSY1NJPfnL8x9uI4eorCRa7qiYOuwsx EOlA== X-Gm-Message-State: ALoCoQk4wWp90OHWLRmhy/N9hExC39BVIQBbhRDOr3FAsBfHXJf6z3ljiUZr3R6jLhcNmh3IHOsr X-Received: by 10.68.90.132 with SMTP id bw4mr22865215pbb.136.1397172846629; Thu, 10 Apr 2014 16:34:06 -0700 (PDT) Received: from [10.64.24.116] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id zv3sm26809419pab.20.2014.04.10.16.34.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 16:34:06 -0700 (PDT) Sender: Warner Losh Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Time for turning off gdb by default? Or worse... From: Warner Losh In-Reply-To: Date: Thu, 10 Apr 2014 17:34:03 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <03C737FA-45A4-4BCE-9F7C-B2B0889C71AC@bsdimp.com> References: <20140408212435.GA75404@troutmask.apl.washington.edu> <57ECB078-3D7A-4BE8-AA29-1ED7BB347DBD@bsdimp.com> <1396995427.81853.449.camel@revolution.hippie.lan> To: Adrian Chadd X-Mailer: Apple Mail (2.1874) Cc: Ed Maste , Ian Lepore , Steve Kargl , 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:34:13 -0000 On Apr 10, 2014, at 5:21 PM, Adrian Chadd wrote: > On 10 April 2014 16:16, Ed Maste wrote: >> On 8 April 2014 18:17, Ian Lepore wrote: >>>=20 >>> 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. >>=20 >> 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. >=20 > Right, so can we flip back to dwarf-2 and make that stuff continue to > somewhat-work until the replacements are ready? :) You are asking the wrong question: would anybody hurt me if I just did = this? :) Warner