From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7965 invoked by alias); 25 Nov 2014 03:00:47 -0000 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 Received: (qmail 7954 invoked by uid 89); 25 Nov 2014 03:00:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Nov 2014 03:00:45 +0000 Received: from svr-orw-fem-04.mgc.mentorg.com ([147.34.97.41]) by relay1.mentorg.com with esmtp id 1Xt6Ms-00015H-At from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Mon, 24 Nov 2014 19:00:42 -0800 Received: from GreenOnly (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.3.181.6; Mon, 24 Nov 2014 19:00:41 -0800 From: Yao Qi To: Sandra Loosemore CC: Subject: Re: [3/3 patch, nios2] clean up prologue/epilogue detection code, v2 References: <545EA0C1.6050104@codesourcery.com> <87bnoeif74.fsf@codesourcery.com> <5473C4BA.2050903@codesourcery.com> <5473C73F.1040800@codesourcery.com> Date: Tue, 25 Nov 2014 03:00:00 -0000 In-Reply-To: <5473C73F.1040800@codesourcery.com> (Sandra Loosemore's message of "Mon, 24 Nov 2014 17:03:11 -0700") Message-ID: <878uj0dlwc.fsf@codesourcery.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00620.txt.bz2 Sandra Loosemore writes: > This part of the revised Nios II prologue/epilogue refactoring patch > fixes the prologue analyzer to handle the multiple stack adjustment > instructions that GCC may now emit in some cases. It replaces the > test that caused analysis to terminate when a second adjustment is > found with more specific tests that can distinguish between > prologue-ish and epilogue-ish adjustments. > > OK to commit on top of part 1? > > -Sandra > > 2014-11-24 Sandra Loosemore > > gdb/ > * nios2-tdep.c (nios2_analyze_prologue): Replace restriction > that there can be only one stack adjustment in the prologue > with tests to detect specific disallowed stack adjustments. This is OK. --=20 Yao (=E9=BD=90=E5=B0=A7)