From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14279 invoked by alias); 17 Mar 2004 23:45:04 -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 14247 invoked from network); 17 Mar 2004 23:45:03 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 17 Mar 2004 23:45:03 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8B1772B92; Wed, 17 Mar 2004 18:45:04 -0500 (EST) Message-ID: <4058E300.4030405@gnu.org> Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [commit] Fix an off-by-one frame bug Content-Type: multipart/mixed; boundary="------------060504090603000708030407" X-SW-Source: 2004-03/txt/msg00416.txt.bz2 Message-ID: <20040319000900.66wcyYW0Si6iNEgmxHzDGENswcd1l9pLtQmixogBRz8@z> This is a multi-part message in MIME format. --------------060504090603000708030407 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 159 FYI, Spotted this think-o. It only affects an architecture part way through a frame conversion (which would explain why no one noticed). committed, Andrew --------------060504090603000708030407 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 869 2004-03-17 Andrew Cagney * frame.c (legacy_get_prev_frame): Pass correct frame to frame_unwind_find_by_frame. Index: frame.c =================================================================== RCS file: /cvs/src/src/gdb/frame.c,v retrieving revision 1.162 diff -u -r1.162 frame.c --- frame.c 16 Feb 2004 21:49:21 -0000 1.162 +++ frame.c 17 Mar 2004 23:42:39 -0000 @@ -1493,7 +1493,7 @@ to the new frame code. Implement FRAME_CHAIN the way the new frame will. */ /* Find PREV frame's unwinder. */ - prev->unwind = frame_unwind_find_by_frame (this_frame->next); + prev->unwind = frame_unwind_find_by_frame (this_frame); /* FIXME: cagney/2003-04-02: Rather than storing the frame's type in the frame, the unwinder's type should be returned directly. Unfortunately, legacy code, called by --------------060504090603000708030407--