From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13187 invoked by alias); 2 Apr 2003 20:11:51 -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 12676 invoked from network); 2 Apr 2003 20:11:48 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 2 Apr 2003 20:11:48 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A3F482B31; Wed, 2 Apr 2003 14:25:45 -0500 (EST) Message-ID: <3E8B3939.9040108@redhat.com> Date: Wed, 02 Apr 2003 20:11:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Remove calls to inside_entry_file References: <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> <20030402164231.GB26981@nevyn.them.org> <3E8B17C2.4090209@redhat.com> <20030402170524.GA29748@nevyn.them.org> <3E8B29E4.2050601@redhat.com> <20030402182259.GA9276@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00040.txt.bz2 > Right, thanks. >> > >> >If we want this to work - which is explicitly a backtrace into the >> >entry file - then we should probably just kill the test. If it causes >> >a problem somewhere, we can deal with it, but I don't expect it will. > >> >> Keep in mind that the frame_chain_valid() function has been >> end-of-life'ed, and the original change has been superseeded by the >> get_prev_frame(). Given that, I think the best thing to do is to >> restore the old behavior for older targets - hence put that test first. > > > That will cause many targets to start backtracing past main, which I > believe we agreed was undesirable. Restore the old behavior as far as frame_chain_valid() is concerned. The main() check was moved to get_prev_frame() some time ago. Andrew