From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45552 invoked by alias); 30 Jul 2015 11:39:40 -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 45538 invoked by uid 89); 30 Jul 2015 11:39:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f171.google.com Received: from mail-pd0-f171.google.com (HELO mail-pd0-f171.google.com) (209.85.192.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 30 Jul 2015 11:39:39 +0000 Received: by pdbnt7 with SMTP id nt7so23361803pdb.0 for ; Thu, 30 Jul 2015 04:39:37 -0700 (PDT) X-Received: by 10.70.94.98 with SMTP id db2mr106836867pdb.130.1438256377436; Thu, 30 Jul 2015 04:39:37 -0700 (PDT) Received: from [127.0.0.1] (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id j5sm1827930pdi.7.2015.07.30.04.39.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 04:39:36 -0700 (PDT) Message-ID: <55BA0CF0.6080906@gmail.com> Date: Thu, 30 Jul 2015 11:39:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Sandra Loosemore , gdb-patches@sourceware.org Subject: Re: [patch, nios2] update trap/break handling in prologue analyzer References: <55B91BCD.9060203@codesourcery.com> In-Reply-To: <55B91BCD.9060203@codesourcery.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00897.txt.bz2 On 29/07/15 19:30, Sandra Loosemore wrote: > > 2015-07-29 Sandra Loosemore > > gdb/ > * nios2-tdep.c (nios2_analyze_prologue): Update comments to > reflect how current GCC emits stack overflow checks. Match > both trap and break instructions for backward compatbility. > Disallow other trap and break instructions in the prologue. Patch looks right to me. -- Yao (齐尧)