From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3046 invoked by alias); 1 Jul 2003 18:27:18 -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 3029 invoked from network); 1 Jul 2003 18:27:14 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 1 Jul 2003 18:27:14 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 99AB32B5F; Tue, 1 Jul 2003 14:27:07 -0400 (EDT) Message-ID: <3F01D27B.8070603@redhat.com> Date: Tue, 01 Jul 2003 18:27: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: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, rearnsha@arm.com Subject: Re: [RFA/ARM] Framificate the ARM port [3/3] References: <20030630225509.GA30844@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00014.txt.bz2 > Index: gdb/varobj.c > =================================================================== > --- gdb.orig/varobj.c 2003-06-30 18:28:07.000000000 -0400 > +++ gdb/varobj.c 2003-06-30 18:28:57.000000000 -0400 > @@ -412,7 +412,7 @@ find_frame_addr_in_frame_chain (CORE_ADD > frame = get_prev_frame (frame); > if (frame == NULL) > return NULL; > - if (get_frame_base (frame) == frame_addr) > + if (get_frame_base_address (frame) == frame_addr) > return frame; > } Just in case you're wondering. This would break any architecture that didn't have an FP called "fp". This is because, "$fp" defaults to get_frame_base() ... :-( Andrew