From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6712 invoked by alias); 20 Jun 2003 17:39:02 -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 20425 invoked from network); 20 Jun 2003 17:33:18 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 20 Jun 2003 17:33:18 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DB1E82B5F; Fri, 20 Jun 2003 13:33:11 -0400 (EDT) Message-ID: <3EF34557.4090209@redhat.com> Date: Fri, 20 Jun 2003 17:39: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: "Theodore A. Roth" Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC:avr] use regcache instead of read_register References: <3EF317E8.8070209@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00657.txt.bz2 > I guess a similar change to d10v_read_pc. > > Just noticed that the d10v seems to use d10v_unwind_sp instead of > *_read_sp. Is it a direct replacement to replace *_read_sp with > *_unwind_sp? I didn't see that before I did the commit. There's currently a catch. GDB doesn't have a consistent story over what ``info frame'' and "$sp" should display for the "sp". Like the old "$fp", it can end up displaying inconsistent values. I've a partial patch to fix it, need to go back though. However, in the mean time, you can remove read_sp and see what happens. Andrew