From owner-freebsd-arch@FreeBSD.ORG Thu Apr 10 23:16:55 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 A6A4B1BE; Thu, 10 Apr 2014 23:16:55 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (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 54CC5113F; Thu, 10 Apr 2014 23:16:55 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id j7so4664708qaq.10 for ; Thu, 10 Apr 2014 16:16:54 -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=3Z+tTHxWf+REskjofdey8hXTyO6CeqPDOvR4mYAX01o=; b=o8vd3fCXWwMlwJ0vubakH+uyoVoxx3K3zdPsePYjXDBVeZUGc64GNftxBx7+9zOpMn Izv83FwHqlrXabGnRrx833GfFJRb9KhZtrzaPRPsYBd1QH3SqSeh42tHF6TUmdMJrEfL DD/sbQQCssRPbZY+4maTGWCAp3ox+jdpRr+BvVrJON+oLQ5k7GkPtoIFFxDRfYj2Ngcx OktpocbGimtoqj4V3xpe+OUwvRQU7mZoxIGIx+ddWf6dcFDrFMN3EbybyVK0F+oqamoC 9bNJmm5suo9cfBWJCwx0777FR29azyYKzAbfeBOAy/LbeI14wM9uqa5eN5bQLvWxvXNs 0/vQ== MIME-Version: 1.0 X-Received: by 10.224.14.14 with SMTP id e14mr14681905qaa.80.1397171814465; Thu, 10 Apr 2014 16:16:54 -0700 (PDT) Sender: carpeddiem@gmail.com Received: by 10.140.88.105 with HTTP; Thu, 10 Apr 2014 16:16:54 -0700 (PDT) In-Reply-To: <1396995427.81853.449.camel@revolution.hippie.lan> 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 19:16:54 -0400 X-Google-Sender-Auth: cz5oEq3lk-04i9njL3UNO4_SQVc Message-ID: Subject: Re: Time for turning off gdb by default? Or worse... From: Ed Maste To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 Cc: 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:16:55 -0000 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.