[PATCH] Removal of uses of MAX_REGISTER_SIZE
Yao Qi
qiyaoltc@gmail.com
Wed Feb 8 15:32:00 GMT 2017
Alan Hayward <Alan.Hayward@arm.com> writes:
> +/* Make certain that the register cache is up-to-date with respect to the
> + current thread. */
Only register REGNUM is up-to-date. REGCACHE has ptid, which may not be
the current thread.
/* Make certain that the register REGNUM in REGCACHE is up-to-date. */
> +void regcache_raw_update (struct regcache *regcache, int regnum);
> +
> +enum register_status regcache_raw_read (struct regcache *regcache,
> + int rawnum, gdb_byte *buf);
We've already had the declaration.
> /* Transfer a raw register [0..NUM_REGS) between core-gdb and the
> regcache. The read variants return the status of the register. */
--
Yao (齐尧)
More information about the Gdb-patches
mailing list