From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17738 invoked by alias); 27 Jun 2009 22:28:09 -0000 Received: (qmail 17729 invoked by uid 22791); 27 Jun 2009 22:28:09 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Jun 2009 22:27:57 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 63ED810631; Sat, 27 Jun 2009 22:27:54 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 2B452104B5; Sat, 27 Jun 2009 22:27:53 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MKgNE-0003l0-MG; Sat, 27 Jun 2009 18:27:52 -0400 Date: Sat, 27 Jun 2009 22:28:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Re: Don't overshoot when executing cfa instructions Message-ID: <20090627222752.GA14420@caradoc.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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 X-SW-Source: 2009-06/txt/msg00778.txt.bz2 On Sun, Jun 28, 2009 at 12:23:02AM +0200, Andreas Schwab wrote: > The dwarf2 unwinder is careful to substract one from pc when finding the > associated fde, but when executing the cfa instructions it uses the > original pc as the limit, which may cause it to execute too much, for > example if this is a frame calling a noreturn function. Tested on > powerpc-linux. OK, thanks! -- Daniel Jacobowitz CodeSourcery