From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19923 invoked by alias); 7 Aug 2003 03:55:30 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19915 invoked from network); 7 Aug 2003 03:55:28 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 7 Aug 2003 03:55:28 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CB6AE2B7F; Wed, 6 Aug 2003 23:55:25 -0400 (EDT) Message-ID: <3F31CDAD.6050409@redhat.com> Date: Thu, 07 Aug 2003 03:55: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@sources.redhat.com, mec@shout.net Subject: Re: PR 1250, backtrace from abort References: <20030802011129.GA14014@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00086.txt.bz2 [my e-mail is back up] > Just as a note.... > > The fix for this is either to start using frame_unwind_address_in_block in > i386_frame_cache, or finding a more general location to use it. Otherwise > Mark's uber new i386 prologue analyzer, analyzes the following function. > Then everything loses. I've changed frame_func_unwind to use frame_address_in_block. However, as I just PRed there are many more cases of the same problem. I suspect the disassembler, for instance, can occasionally disassemble the wrong function. > I think a more general solution is in order; for frame_func_unwind to return > a function based on the PC is not correct in this situation. Perhaps we > should revisit the idea of a flag indicate whether the resume address > is known-in-block (dummy frames, sigtramps) or maybe-just-after (normal > calls). Andrew