From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28523 invoked by alias); 21 May 2008 03:42:59 -0000 Received: (qmail 28512 invoked by uid 22791); 21 May 2008 03:42:59 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 21 May 2008 03:42:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 5F5922A97EA; Tue, 20 May 2008 23:42:33 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BRK-XW-IJcqU; Tue, 20 May 2008 23:42:33 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1791C2A9748; Tue, 20 May 2008 23:42:33 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 479CCE7ACD; Tue, 20 May 2008 20:42:30 -0700 (PDT) Date: Wed, 21 May 2008 14:49:00 -0000 From: Joel Brobecker To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [commit] update alpha-osf to new value-based unwinding Message-ID: <20080521034230.GC4080@adacore.com> References: <20080509040337.GB15397@adacore.com> <200805182011.m4IKBwY3029439@d12av02.megacenter.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805182011.m4IKBwY3029439@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00624.txt.bz2 Hi Ulrich, > If you have a way of testing on that platform, would you mind > testing the following patch? This switches alpha-mdebug-tdep.c > to use trad-frame instead of relying SIZEOF_FRAME_SAVED_REGS; > if this is in, we can finally get rid of that macro ... Nice! Sorry for my late reply, but the machine where I built everything had a HD failure, and so I had to redo everything from scratch on another machine. Since our Tru64 machines are not exactly race cars.... > * alpha-mdebug-tdep.c: Include "trad-frame.h". > (struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to > struct trad_frame_saved_reg *. > (alpha_mdebug_frame_unwind_cache): Allocate SAVED_REGS using > trad_frame_alloc_saved_regs. Update accesses. Record previous > value of SP as being vfp. > (alpha_mdebug_frame_prev_register): Use trad_frame_get_prev_register. > * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. According to our testsuite, there was no regression found. I think that shows that the changes are sane. -- Joel