From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3020 invoked by alias); 2 Dec 2005 21:19:32 -0000 Received: (qmail 3007 invoked by uid 22791); 2 Dec 2005 21:19:32 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.205) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 Dec 2005 21:19:31 +0000 Received: by zproxy.gmail.com with SMTP id l1so686032nzf for ; Fri, 02 Dec 2005 13:19:29 -0800 (PST) Received: by 10.36.146.2 with SMTP id t2mr3030598nzd; Fri, 02 Dec 2005 13:19:28 -0800 (PST) Received: by 10.37.2.6 with HTTP; Fri, 2 Dec 2005 13:19:28 -0800 (PST) Message-ID: <8f2776cb0512021319x69cdb461xc92d9280313feefe@mail.gmail.com> Date: Fri, 02 Dec 2005 22:19:00 -0000 From: Jim Blandy To: pgilliam@us.ibm.com Subject: Re: [PATCH] add 'rs6000_in_function_epilogue_p()' (Revised) Cc: gdb-patches@sources.redhat.com In-Reply-To: <200512021120.22263.pgilliam@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200511301225.56802.pgilliam@us.ibm.com> <8f2776cb0512011707p120df411w3a685c453d4ec625@mail.gmail.com> <200512021120.22263.pgilliam@us.ibm.com> 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/msg00070.txt.bz2 > > 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 questi= on? > > > I have attached a couple of dumps (and a typescript show how they where m= ade), 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.