This is the mail archive of the gdb-patches@sourceware.org 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]

Re: RFC: partially available registers


>>>>> "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


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