Register setting problem

Ron McCall rmccall@sikorsky.com
Tue Sep 17 14:12:00 GMT 2002


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



More information about the Gdb mailing list