From owner-freebsd-ppc@FreeBSD.ORG Tue May 11 16:22:31 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0110C106564A for ; Tue, 11 May 2010 16:22:31 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 82D948FC12 for ; Tue, 11 May 2010 16:22:30 +0000 (UTC) Received: by fxm15 with SMTP id 15so574408fxm.13 for ; Tue, 11 May 2010 09:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=hqge1q/kqCyFYTdfLFdXBE7H9O/JnYyQUAvu7NbGCvw=; b=RyYP7It1VAx8Mq2SzqhNkR3b/cAzWBY9OSlBJuSnZLHaiUkRZSOK71F9hUb2CfC0ti 2sy7WqggF2xxMZvuiIAWGAEnU5Z9jAbeQZ+F7lMbYhkVvQcYJJXqmE5Kys8xhwnBv8DH WtAEqVA193Ec8lkWxpnu8/qHpShAHq/SLsadU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ESR7S+YHhtXPBrXRNmxHwIscfj1uaNbm1Q061pKyDrw2fKLIFyiKGeP9KgJMagslva ntngOsBnu3ae9xx0MT95b6gxwsdD2wCwE3S56UF6IHERAoE51WrwYEnRzzf833wxD6xu f/C2mfGh5W8Ua1ltjO5s0cz5eIIqo+KOz1Mts= MIME-Version: 1.0 Received: by 10.204.84.5 with SMTP id h5mr402727bkl.164.1273594948530; Tue, 11 May 2010 09:22:28 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.152.141 with HTTP; Tue, 11 May 2010 09:22:28 -0700 (PDT) In-Reply-To: <4AC27BCE.9090502@fgznet.ch> References: <4AC2758A.8030708@fgznet.ch> <4AC27BCE.9090502@fgznet.ch> Date: Tue, 11 May 2010 12:22:28 -0400 X-Google-Sender-Auth: S3MogUsYZqXyyNs3upDfkIF24kY Message-ID: From: Justin Hibbits To: Andreas Tobler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Andreas Tobler , FreeBSD PowerPC ML Subject: Re: RFC/H gdb6 port for powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 16:22:31 -0000 On Tue, Sep 29, 2009 at 5:27 PM, Andreas Tobler wrote: > Hi Justin, > > > Justin Hibbits wrote: > > Thanks for taking on this port, maybe it'll fix the bug I filed against >> the base gdb. I'll give it a shot when I get some time to test it. Have >> you looked at any of the other BSDs for the necessary missing pieces? >> >> > yes, I did, and it was quite irritating to rely either on obsd or nbsd. > Obsd has a different ABI here, and nbsd too, we, fbsd lack the altivec regs > in reg(s).h. > > My questions are in terms of signal handling and stack unwinding. How do we > do that, what are the 'correct' entry points etc. > > I have to admit, I solved my thunderbird issue :) I could step into the > functions, even assembler stuff. > > But the confusing part is the testsuite which makes me unsure and the fact > that we do not store/giving access to altivec regs, Nathan? > > Thanks for the response, > Andreas > Andreas, I just finally (8 months - a new record?) got around to testing gdb6 port with your patches. (Sorry, forgot about it for a while after other things took priority) I don't know if you're still even interested in working on this, but here's what I've found: So far most things seem to be working quite well, the only problem I've found is 'info threads'/thread switching doesn't work ('info threads' displays nothing, switching throws an error). Still, it's far better than the base gdb, since that one wouldn't even run threaded programs. - Justin