From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12070 invoked by alias); 17 Sep 2002 21:12:10 -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 12062 invoked from network); 17 Sep 2002 21:12:08 -0000 Received: from unknown (HELO mail2.utc.com) (192.249.46.67) by sources.redhat.com with SMTP; 17 Sep 2002 21:12:08 -0000 Received: (from uucp@localhost) by mail2.utc.com (8.10.0/8.10.0) id g8HLC7G00534 for ; Tue, 17 Sep 2002 17:12:07 -0400 (EDT) Received: from uusnwa0p.utc.com(159.82.80.106) by mail2.utc.com via csmap (V6.0) id srcAAARZaGcb; Tue, 17 Sep 02 17:12:07 -0400 Received: from ronbo.sikorsky.com (ronbo.sikorsky.com [140.76.12.150]) by uusnwa0p.utc.com (Switch-2.2.4/Switch-2.2.4) with ESMTP id g8HLC5v28757 for ; Tue, 17 Sep 2002 17:12:05 -0400 (EDT) Received: (from s29299@localhost) by ronbo.sikorsky.com (8.11.6+Sun/8.11.6) id g8HLBfi17807 for gdb@sources.redhat.com; Tue, 17 Sep 2002 17:11:41 -0400 (EDT) X-Authentication-Warning: ronbo.sikorsky.com: s29299 set sender to rmccall@sikorsky.com using -f Date: Tue, 17 Sep 2002 14:12:00 -0000 From: Ron McCall To: GDB Mailing List Subject: Register setting problem Message-ID: <20020917171141.A17795@sikorsky.com> Mail-Followup-To: GDB Mailing List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-SW-Source: 2002-09/txt/msg00240.txt.bz2 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? Ron McCall