From owner-freebsd-toolchain@FreeBSD.ORG Thu May 19 10:00:16 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E98AA106566C for ; Thu, 19 May 2011 10:00:16 +0000 (UTC) (envelope-from cbergstrom@pathscale.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 684388FC13 for ; Thu, 19 May 2011 10:00:16 +0000 (UTC) Received: by wyf23 with SMTP id 23so2526739wyf.13 for ; Thu, 19 May 2011 03:00:15 -0700 (PDT) Received: by 10.216.28.200 with SMTP id g50mr2443845wea.92.1305779485089; Wed, 18 May 2011 21:31:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.181.148 with HTTP; Wed, 18 May 2011 21:31:05 -0700 (PDT) X-Originating-IP: [66.135.37.47] In-Reply-To: <20110519001953.GA44935@DataIX.net> References: <4DD38498.7080401@pathscale.com> <921347.69389.qm@web113510.mail.gq1.yahoo.com> <20110519001953.GA44935@DataIX.net> From: =?ISO-8859-1?Q?Christopher_Bergstr=F6m?= Date: Thu, 19 May 2011 11:31:05 +0700 Message-ID: To: Jason Hellenthal Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Pedro F. Giffuni" , freebsd-toolchain@freebsd.org Subject: Re: PathDB (non GPL/GNU debugger) ported to FreeBSD ! X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2011 10:00:17 -0000 On Thu, May 19, 2011 at 7:19 AM, Jason Hellenthal wrote: > > Sorry - no offense and just my point of view. PathDB may be nice but > there is nothing that is utterly apparent to be already ported to > FreeBSD as your subject implies. So I went through all the links and > most everything I see keeps pointing at linux this and linux that then > checked out the source which has a bunch of gmake(1) files scattered > throughout and what looks to be deepdencies on GNU GCC libs and such. > Maybe I hit the Linux repo instead of the FreeBSD one ? did I > misunderstand and '!' is supposed to be '?' in the subject ?. > > Anyway... seeing as clang/llvm is the compiler of choice for those on > 9-CURRENT its probably worth noting that link [1] would probably be more > worthwhile supporting rather than something that hasnt been ported > already. Also to note it seems clearly better documented. > > > Hi Jason, I don't mean to be rude, but please do a better job of digging into a project before you try to redirect to another and flame a small new project like this. ------- #1 - git clone git://github.com/path64/debugger.git # this is a git clone URL and not an http one - http link which you can browse posted above #2 - 3 Makefiles deleted from the tree - It's all nice and clean cmake based and sorry about the cruft #3 - Where did you see GNU/GCC lib deps? I'm looking here https://github.com/path64/debugger/blob/master/src/CMakeLists.txt #3 - It *does* work *today* on FreeBSD, but needs more testers I don't own this code, but I can get it fixed quickly. Thanks for testing and we welcome competition with any LL* project :) ------------- I don't know of any public dbx code. I found hints that it was once available a long time ago, but I was never able to find it. ------------- To build should be something along these lines which is fairly standard for most cmake projects # bug reports welcome git clone ... ; mkdir debugger/build ; cd debugger/build ; cmake .. ; gmake For PathDB the best way to help now is run the gdb testsuite and help point to issues you think are important to resolve in compatibility. Inside the source tree is a board file which you'll need for basic configuration. By being drop-in compatible we can slightly swap out the system debugger and have minimal learning curve. Some thing of course don't exactly make sense to clone (like MI), but other things will be better (like DWARF4 and C++ support) Thanks ./C