From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3547 invoked by alias); 2 Dec 2005 21:21:02 -0000 Received: (qmail 3524 invoked by uid 22791); 2 Dec 2005 21:21:00 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 02 Dec 2005 21:20:59 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EiIKq-0004QD-FU; Fri, 02 Dec 2005 16:20:52 -0500 Date: Fri, 02 Dec 2005 22:28:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: pgilliam@us.ibm.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH] add 'rs6000_in_function_epilogue_p()' (Revised) Message-ID: <20051202212052.GA16980@nevyn.them.org> Mail-Followup-To: Jim Blandy , pgilliam@us.ibm.com, gdb-patches@sources.redhat.com References: <200511301225.56802.pgilliam@us.ibm.com> <8f2776cb0512011707p120df411w3a685c453d4ec625@mail.gmail.com> <200512021120.22263.pgilliam@us.ibm.com> <8f2776cb0512021319x69cdb461xc92d9280313feefe@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f2776cb0512021319x69cdb461xc92d9280313feefe@mail.gmail.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00071.txt.bz2 On Fri, Dec 02, 2005 at 01:19:28PM -0800, Jim Blandy wrote: > > > Whatever we do immediately, the underlying cause here is that > > > unwinding isn't working at every instruction. If it were, then the > > > call to frame_find_by_id would find the frame containing the watched > > > variable, and watchpoint_check would correctly conclude that the > > > variable was still in scope. > > > > > > Paul, does your test program have Dwarf CFI for the functions in question? > > > > > I have attached a couple of dumps (and a typescript show how they where made), the executable, and the source. > > Okay, thanks. I don't have a ppc64 toolchain handy; could you post > the output from objdump -d testwatch? The readelf dump that I wanted > was 'readelf -wF' or '-wf'; but since you provided the executable, > that's fine. We don't even use CFI for PowerPC, still, because of the debacle with incorrect register numbers recently fixed in GCC. -- Daniel Jacobowitz CodeSourcery, LLC