This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]