From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10073 invoked by alias); 7 Jun 2004 15:24:41 -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 10035 invoked from network); 7 Jun 2004 15:24:40 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 7 Jun 2004 15:24:40 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BXLzM-0004fw-8o; Mon, 07 Jun 2004 11:24:40 -0400 Date: Mon, 07 Jun 2004 15:24:00 -0000 From: Daniel Jacobowitz To: Alexandre Oliva Cc: gdb-patches@sources.redhat.com Subject: Re: mn10300: skip movm checks if PC is on movm Message-ID: <20040607152440.GC17470@nevyn.them.org> Mail-Followup-To: Alexandre Oliva , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00127.txt.bz2 On Wed, Jun 02, 2004 at 06:50:43PM -0300, Alexandre Oliva wrote: > When we attempt to set up a frame while PC is on the initial movm > instruction of a function, and then read the saved PC from it, we get > the wrong value, because we fail to disregard the offsets introduced > by movm, that hasn't run yet. This patch fixes this problem. Ok to > install? > > Index: gdb/ChangeLog > from Alexandre Oliva > > * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved > regs if PC is on movm. OK. -- Daniel Jacobowitz