This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: powerpc remote target registers
- From: Andrew Cagney <cagney at gnu dot org>
- To: Jonathan Larmour <jifl at eCosCentric dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 02 Dec 2003 23:23:03 -0500
- Subject: Re: powerpc remote target registers
- References: <3FC7FF5D.7060906@eCosCentric.com> <3FCB8DDC.30603@gnu.org> <3FCC21B2.30000@eCosCentric.com>
But then the registers aren't marked as cached at all, so they're now requested from the target each time you do "info all-registers", even though they come up with 0s. Should I pretend the registers not supplied by the target were 0, or should I mark them as unavailable (i.e. the same as what having an "x" does) so at least it's consistent?
Ah, they should be supplied but with a value of zero. The protocol (for
historic reasons) specifies that a short G packet should have the
missing entries treated as zero (like you intended).
Andrew