This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Register setting problem
- From: Ron McCall <rmccall at sikorsky dot com>
- To: GDB Mailing List <gdb at sources dot redhat dot com>
- Date: Tue, 17 Sep 2002 17:11:41 -0400
- Subject: Register setting problem
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