From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2816 invoked by alias); 10 Apr 2003 11:12:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2802 invoked from network); 10 Apr 2003 11:12:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 10 Apr 2003 11:12:41 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h3ABCee00639 for ; Thu, 10 Apr 2003 07:12:40 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3ABCdW05292 for ; Thu, 10 Apr 2003 07:12:39 -0400 Received: from cygbert.vinschen.de (vpn50-37.rdu.redhat.com [172.16.50.37]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h3ABCb511359 for ; Thu, 10 Apr 2003 04:12:37 -0700 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id h3ABCU525237 for gdb-patches@sources.redhat.com; Thu, 10 Apr 2003 13:12:30 +0200 Date: Thu, 10 Apr 2003 11:12:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: Re: [RFA] Remove calls to inside_entry_file Message-ID: <20030410111230.GO1928@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com Mail-Followup-To: gdb-patches@sources.redhat.com References: <3E89B2AA.5060304@redhat.com> <20030401161824.GA18138@cygbert.vinschen.de> <3E89BFE4.7020500@redhat.com> <20030401170307.GD18138@cygbert.vinschen.de> <3E89CCC9.7040908@redhat.com> <20030401195832.GA10202@nevyn.them.org> <20030402092741.GA26480@cygbert.vinschen.de> <3E8B1178.6050605@redhat.com> <20030403131734.GN18138@cygbert.vinschen.de> <3E8EE0A6.4070403@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E8EE0A6.4070403@redhat.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-04/txt/msg00193.txt.bz2 On Sat, Apr 05, 2003 at 08:56:54AM -0500, Andrew Cagney wrote: > Consider that approved. Thanks, applied. Corinna 2003-04-10 Corinna Vinschen * blockframe.c (legacy_frame_chain_valid): Move call to DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and inside_entry_file. Index: blockframe.c =================================================================== RCS file: /cvs/src/src/gdb/blockframe.c,v retrieving revision 1.67 diff -u -p -r1.67 blockframe.c --- blockframe.c 6 Apr 2003 18:36:22 -0000 1.67 +++ blockframe.c 10 Apr 2003 11:09:32 -0000 @@ -575,6 +575,11 @@ legacy_frame_chain_valid (CORE_ADDR fp, if (INNER_THAN (fp, get_frame_base (fi))) return 0; + /* If the architecture has a custom DEPRECATED_FRAME_CHAIN_VALID, + call it now. */ + if (DEPRECATED_FRAME_CHAIN_VALID_P ()) + return DEPRECATED_FRAME_CHAIN_VALID (fp, fi); + /* If we're already inside the entry function for the main objfile, then it isn't valid. */ if (inside_entry_func (get_frame_pc (fi))) @@ -586,11 +591,6 @@ legacy_frame_chain_valid (CORE_ADDR fp, dbxread) figure out which object is the entry file is somewhat hokey. */ if (inside_entry_file (frame_pc_unwind (fi))) return 0; - - /* If the architecture has a custom DEPRECATED_FRAME_CHAIN_VALID, - call it now. */ - if (DEPRECATED_FRAME_CHAIN_VALID_P ()) - return DEPRECATED_FRAME_CHAIN_VALID (fp, fi); return 1; } -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com