[PATCH 8/11] Add FRV_MAX_REGISTER_SIZE

Pedro Alves palves@redhat.com
Wed May 3 11:23:00 GMT 2017


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



More information about the Gdb-patches mailing list