RFC: partially available registers
Tom Tromey
tromey@redhat.com
Wed Jul 27 18:25:00 GMT 2011
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> <unavailable> means the object exists, and its value exists,
Pedro> but we have no means to fetch it.
[...]
After re-reading this reply a couple of times and thinking about the
issue, I think you are right, and we should supply 0 instead of
<unavailable> here.
Tom> If you agree with what I have checked in, I will update gdbserver.
Pedro> I think your patch implements the right interface for partial
Pedro> registers support. I like it...
Great.
Pedro> ... but I think that we should go with 0, instead of <unavailable>,
Pedro> meaning changing x87-tdep.c:i387_supply_xsave to supply
Pedro> explicity zeroed buffer, instead of a NULL pointer, like
Pedro> gdbserver does.
I will do this.
Tom
More information about the Gdb-patches
mailing list