From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28088 invoked by alias); 27 Jun 2011 16:41:18 -0000 Received: (qmail 28078 invoked by uid 22791); 27 Jun 2011 16:41:17 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_CN X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Jun 2011 16:41:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A54E92BB228; Mon, 27 Jun 2011 12:41:02 -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 ZLywRdtaZPEc; Mon, 27 Jun 2011 12:41:02 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 778C22BB222; Mon, 27 Jun 2011 12:41:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 88A70145615; Mon, 27 Jun 2011 09:40:58 -0700 (PDT) Date: Mon, 27 Jun 2011 16:41:00 -0000 From: Joel Brobecker To: Eric Botcazou Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [patch] Add support for single register window model on SPARC Message-ID: <20110627164058.GI20676@adacore.com> References: <201106161536.09111.ebotcazou@adacore.com> <201106212008.10987.ebotcazou@adacore.com> <201106231314.p5NDE37t015068@glazunov.sibelius.xs4all.nl> <201106271610.26710.ebotcazou@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201106271610.26710.ebotcazou@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-06/txt/msg00402.txt.bz2 > Joel, I have commit rights to src but I'm not listed in MAINTAINERS so > would you mind applying the revised patch (gdb-mflat-2.diff) attached > to my previous message in the thread? TIA. Sure! Now done. And I've also taken the liberty to add you to the MAINTAINERS file, so you don't have to wait on me (although I'll be happy to commit for you if more convenient). > 2011-06-27 Eric Botcazou > > * sparc-tdep.h (struct sparc_frame_cache): Add frame_offset, > saved_regs_mask and copied_regs_mask fields. > (sparc_record_save_insn): New prototype. > * sparc-tdep.c (sparc_alloc_frame_cache): Initialize the new fields. > (sparc_record_save_insn): New function. > (sparc_analyze_prologue): Add head comment. Recognize store insns > of call-saved registers. Use OFFSET consistently. Recognize flat > frames and cache their settings. > (sparc32_skip_prologue): Handle flat frames. > (sparc_frame_cache): Add frame_offset to the base address. > (sparc32_frame_cache): Adjust to new frame description. > (sparc32_frame_prev_register): Likewise. > * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. > * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. > * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. > * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_cache): Force the > frame by calling sparc_record_save_insn. > * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_cache): Likewise. > * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_cache): Likewise. > * sparc64obsd-tdep.c (sparc64obsd_frame_cache): Likewise. -- Joel