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: [PATCH 8/11] Add FRV_MAX_REGISTER_SIZE


> On 3 May 2017, at 12:23, Pedro Alves <palves@redhat.com> wrote:
> 
> On 05/03/2017 11:56 AM, Alan Hayward wrote:
> 
>>> BTW, note that gdbserver has an equivalent function, called
>>> "supply_register_zeroed".
> 
>> +/* Supply register REGNUM with zeroed value to REGCACHE.  This is not the same
>> +   as calling raw_supply with NULL (which will set the state to
>> +   unavailable).  */
>> +
>> +void
>> +regcache::raw_supply_zero (int regnum)
> 
> A very minor detail, but I'd prefer it if gdb and gdbserver agreed 
> on terminology.  Should we call this one "zeroed" too, or
> rename gdbserver's to "zero"?
> 
> Thanks,
> Pedro Alves
> 

I’m happy to update raw_supply to raw_supply_zeroed.
I think that sounds better too.


Alan.


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