This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: G packet format ...
>> NB: Why do this?
>>
>> The objective is to decouple the remote protocol's G packet from the
>> rest of GDB. That way, GDB has greater flexability in how it implements
>> its regcache. For instance, with the MIPS, it will be possible to have
>> a single internal register layout while still being able to connect to
>> all the remote MIPS targets.
>
>
> I guess I posted my gdbserver register cache patch before I converted
> it to generate them from a shell script. Here's what I've been using.
> I didn't consider the issue of only-transferable-in-P-packet registers
> (and I still don't see a good reason... well, maybe I can come up with
> one, actually. Things that react when read.).
[x86 example deleted]
Doesn't the x86 have the potential for 4 billion MSRs? :-)
Andrew