From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12916 invoked by alias); 17 Sep 2002 21:15:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12908 invoked from network); 17 Sep 2002 21:15:43 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 17 Sep 2002 21:15:43 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17rQdE-0004WK-00 for ; Tue, 17 Sep 2002 17:15:44 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17rPhA-0000ST-00 for ; Tue, 17 Sep 2002 17:15:44 -0400 Date: Tue, 17 Sep 2002 14:15:00 -0000 From: Daniel Jacobowitz To: GDB Mailing List Subject: Re: Register setting problem Message-ID: <20020917211544.GA1746@nevyn.them.org> Mail-Followup-To: GDB Mailing List References: <20020917171141.A17795@sikorsky.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020917171141.A17795@sikorsky.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-09/txt/msg00241.txt.bz2 On Tue, Sep 17, 2002 at 05:11:41PM -0400, Ron McCall wrote: > Hi, > > I am using GDB from CVS on August 12th, targeted to powerpc-eabi. No > matter which general purpose register I try to set, r0 gets set instead. > For example, both "set $r3=15" and "set var $r3=15" result in r0==15 and > r3 unchanged. In case it matters, I am using target remote. With > remote debugging turned on, I can see 'P' packets go out in these cases > but always with register number 0. If I disable the 'P' packet, a 'G' > packet goes out instead but the modified value is still the first 8 hex > digits (register r0). > > Has anyone else seen this? Yes. I believe you need a newer snapshot; Andrew fixed it soon after. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer