* regcache.c (register_buffer): Consitify first argument.

(regcache_raw_supply, regcache_raw_collect): New
functions.
This commit is contained in:
Mark Kettenis
2003-08-29 09:59:28 +00:00
parent 71df864f7b
commit 9a661b68d1
3 changed files with 64 additions and 1 deletions

View File

@@ -94,6 +94,10 @@ void regcache_cooked_write_part (struct regcache *regcache, int regnum,
extern void supply_register (int regnum, const void *val);
extern void regcache_collect (int regnum, void *buf);
extern void regcache_raw_supply (struct regcache *regcache,
int regnum, const void *buf);
extern void regcache_raw_collect (const struct regcache *regcache,
int regnum, void *buf);
/* The register's ``offset''.