mcore registers
Andrew Cagney
ac131313@redhat.com
Tue Sep 30 14:46:00 GMT 2003
>> Can you post the output from "maint print registers"? If these
>> registers are last, the stub can send back a short register
>> packet
>
>
> The pc is the last, not cr31 --
Doh!
> (gdb) maint print registers
> cr31 63 63 252 4 int
> pc 64 64 256 4 int
>
>
>
>> longer packet back to the stub). It may also be possible to
>> run length
>> encode (phrase?) the "x" indicating that the the missing
>> registers are
>> not available.
>
>
> I had planned on eventually implementing the run-length encoding (using the '*' symbol). All of the non-existent registers just get reported as containing zeroes, so RLL would compress this consistently. Maybe it's time to get busy on that. I was hoping for a fix that not only improves performance, but also accurately reflects how the mcore is actually built.
Ok. Note that GDB doesn't run length encode. Instead it tries to use
the "P" packet. If not already, also look at the "T..." response to
things like continue.
Andrew
More information about the Gdb-patches
mailing list