From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9052 invoked by alias); 25 Apr 2003 14:57:40 -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 8959 invoked from network); 25 Apr 2003 14:57:32 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.54) by sources.redhat.com with SMTP; 25 Apr 2003 14:57:32 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id PAA19490; Fri, 25 Apr 2003 15:57:18 +0100 (BST) Received: from pc960.cambridge.arm.com (rearnsha@localhost) by pc960.cambridge.arm.com (8.11.6/8.9.3) with ESMTP id h3PEvIA02068; Fri, 25 Apr 2003 15:57:18 +0100 Message-Id: <200304251457.h3PEvIA02068@pc960.cambridge.arm.com> X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha owned process doing -bs To: Hornung Peter cc: "'gdb-patches@sources.redhat.com'" , Richard.Earnshaw@arm.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. Subject: Re: gdb 5.3 problem in ARM simulator In-reply-to: Your message of "Fri, 25 Apr 2003 16:40:06 +0200." <84B8B0CA0E7AC24C8EEB89B90BF8888F0190BC65@fthw9fka.os.fth.sbs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Apr 2003 21:21:00 -0000 From: Richard Earnshaw X-SW-Source: 2003-04/txt/msg00492.txt.bz2 I suspect that all of these problems stem from the fact that GDB is using the wrong method for resetting the PC. Instead of setting state->Reg[15] directly or using ARMul_SetReg() it should be using ARMul_SetR15() as the RDI interface does. Then both your and Nick's previous change shouldn't be needed. However, I haven't tested any of this, it's just an observation I made when looking over the source code one day. R.