From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 682 invoked by alias); 7 Mar 2003 17:31:17 -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 675 invoked from network); 7 Mar 2003 17:31:17 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 7 Mar 2003 17:31:17 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4F4ED2A9C; Fri, 7 Mar 2003 12:31:14 -0500 (EST) Message-ID: <3E68D762.2030409@redhat.com> Date: Fri, 07 Mar 2003 17:31: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: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch rfc] unwind sentinel id/pc References: <3E6268AD.3080300@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00171.txt.bz2 > 2003-03-02 Andrew Cagney > > * gdbarch.sh (UNWIND_SENTINEL_ID, UNWIND_SENTINEL_PC): New > multi-arch methods with predicate. > * gdbarch.h, gdbarch.c: Regenerate. > * d10v-tdep.c (d10v_unwind_sentinel_id): New function. > (d10v_unwind_sentinel_pc): New function. > (d10v_gdbarch_init): Set unwind_sentinel_id and > unwind_sentinel_pc. > * sentinel-frame.c (struct frame_unwind_cache): Add field cache. > (sentinel_frame_pc_unwind): Use gdbarch_unwind_sentinel_pc. > (sentinel_frame_id_unwind): Use gdbarch_unwind_sentinel_id. > Patch withdrawn. The underlying problem was that the frame unwind code was calling the wrong frame ID unwind method (with the wrong frame). The `off-by-one' bug. Fixing that makes this unnecessary. Andrew