From owner-freebsd-ppc@FreeBSD.ORG Wed May 12 19:19:19 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F08D110656EB for ; Wed, 12 May 2010 19:19:19 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 738E98FC13 for ; Wed, 12 May 2010 19:19:18 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-8-131.flashcable.ch [91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id o4CJJ06q019300; Wed, 12 May 2010 21:19:01 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4BEAFF23.8080908@fgznet.ch> Date: Wed, 12 May 2010 21:18:59 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Justin Hibbits References: <4AC2758A.8030708@fgznet.ch> <4AC27BCE.9090502@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: 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: Wed, 12 May 2010 19:19:20 -0000 On 11.05.10 18:22, Justin Hibbits wrote: > 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. Wow! Thanks for the feedback. Well, if there are people who use the port, I'm happy to continue working on. For me it was enough at that time so I didn't continue in the public. I have some pending stuff for altivec which I need to back out and then I try to tackle the threads issue. I was not aware of. After fixing this I resubmit and I hope a porter will catch up my work and hopefully commit it to the ports tree. Thanks again. Andreas