From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14304 invoked by alias); 12 Nov 2014 17:32:50 -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 14295 invoked by uid 89); 12 Nov 2014 17:32:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f170.google.com Received: from mail-vc0-f170.google.com (HELO mail-vc0-f170.google.com) (209.85.220.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 12 Nov 2014 17:32:49 +0000 Received: by mail-vc0-f170.google.com with SMTP id hq12so3252641vcb.29 for ; Wed, 12 Nov 2014 09:32:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DHwy5ZRnDHTjbPdS7pUKVLZZVpo0Fx9CcxWwcikkAC8=; b=XEMHyVQm0DiJqt7nkhuo8DLhoUl4PgfFyvZFQ1wDTK9fE7EumMdKZ8B7EFxyR3hNGD RGWcy0fIDBkf898Kg6u5mk8bFi5CYvYcrEdsNOSKROsf3tYhWuTlOVDXWLbioViou4lp dEdUdU/jql0RSKLA7TtRyzxdlDQvuWcGwwC1f0Eh2xnJllfAON1XgU1MsEGRpOESX5S9 D7pLx/llRs/oSGtMjEjByB99isiVIRkyenVRptljV0vWYkxvAqBWQiRg0iYexXh/rD2t IlEpEWBZN31d+yAja//VBLM0tV0Jkkz1hqCkn085CH/FL+3Alx4ijxtN9za//UBau2fK xCMg== X-Gm-Message-State: ALoCoQkM47pOhM9nQU9KwMUJJ4iTrE1s+o7YATGx3+p/OxJA3Dpn1b75DFHS0i2SEzkHv56locnV MIME-Version: 1.0 X-Received: by 10.52.170.211 with SMTP id ao19mr7870922vdc.58.1415813566857; Wed, 12 Nov 2014 09:32:46 -0800 (PST) Received: by 10.52.114.101 with HTTP; Wed, 12 Nov 2014 09:32:46 -0800 (PST) In-Reply-To: <546396DC.1020803@redhat.com> References: <201411071727.sA7HRNIQ007851@d03av02.boulder.ibm.com> <546396DC.1020803@redhat.com> Date: Wed, 12 Nov 2014 17:32:00 -0000 Message-ID: Subject: Re: [PING][RFC][PATCH v2] Python API: add gdb.stack_may_be_invalid From: Doug Evans To: Pedro Alves Cc: Martin Galvan , Ulrich Weigand , gdb-patches , Eli Zaretskii , Daniel Gutson Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00226.txt.bz2 On Wed, Nov 12, 2014 at 9:20 AM, Pedro Alves wrote: > On 11/12/2014 05:06 PM, Doug Evans wrote: >> >> Plus the name "stack is destroyed" is confusing. >> This function is just a wrapper around gdbarch_in_function_epilogue_p >> so I'd just call it in_function_epilogue_p (or >> gdbpy_in_function_epilogue_p or some such). > > Can we agree to rename the gdbarch hook instead? > The function does _not_ return whether the PC is in the epilogue. > > https://sourceware.org/ml/gdb-patches/2014-10/msg00590.html "works for me"