From owner-freebsd-current@FreeBSD.ORG Sat Aug 29 09:47:26 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA2F3106566C for ; Sat, 29 Aug 2009 09:47:26 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 767C98FC19 for ; Sat, 29 Aug 2009 09:47:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 5CFB49CB0D8; Sat, 29 Aug 2009 11:26:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kLjo+PhaK7cB; Sat, 29 Aug 2009 11:25:58 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EC8D79CB127; Sat, 29 Aug 2009 11:25:57 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n7T9PvFS001149; Sat, 29 Aug 2009 11:25:57 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 29 Aug 2009 11:25:57 +0200 From: Roman Divacky To: Doug Rabson Message-ID: <20090829092557.GA475@freebsd.org> References: <8819E53E-9F96-43E2-B7F5-F5393F5AE126@rabson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8819E53E-9F96-43E2-B7F5-F5393F5AE126@rabson.org> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current Subject: Re: New BSD licensed debugger X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 09:47:26 -0000 On Fri, Aug 28, 2009 at 08:23:34PM +0100, Doug Rabson wrote: > As one or two of you know, I've been working recently on writing a new > debugger, primarily for the FreeBSD platform. For various reasons, > I've been writing it in a relatively obscure C-like language called D > (see http://www.digitalmars.com/d/1.0/index.html for more details > including a free download of a FreeBSD D compiler. > > So far, I have a pretty useful (if a little raw at the edges) command > line debugger which supports ELF, Dwarf debugging information and > (currently) 32 bit FreeBSD and Linux. The engine includes parsing and > evaluation of arbitrary C expressions along with the usual debugging > tools such as breakpoints, source code listing, single-step etc. All > the code is new and BSD licensed. Currently, the thing supports > userland debugging of i386 targets via ptrace and post-mortem core > file debugging of same. I'll be adding amd64 support real soon (TM) > and maybe support for GDB's remote debugging protocol later. nice :) > If anyone is interested in taking a look at a 'Technology Preview', > I've put up a git repository at http://people.freebsd.org/~dfr/ > ngdb.git. To build it you need to install 'omake' from /usr/ports/ > devel/omake and you will need a D compiler. There are three options > there - DMD which you can download from > http://www.digitalmars.com/d/download.html is free, closed source and > works pretty well. GDC is a D front end to GCC and you can find it in > ports - it works well enough but hasn't been updated for ages. Personally, > I use LDC which is a D front end to LLVM but that doesn't build out-of-the > box (I have a private hacked version of LDC and some associated libraries). cool to see more LLVM usage in freebsd ;) fwiw there's also http://wiki.freebsd.org/TheBsdDebugger