type of last argument back to `void *'.
* regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
+2005-06-18 Mark Kettenis <kettenis@gnu.org>
+
+ * regcache.c (regcache_raw_supply, regcache_raw_collect): Change
+ type of last argument back to `void *'.
+ * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
+
2005-06-18 Nick Roberts <nickrob@snap.net.nz>
* mi/mi-cmds.c (mi_cmds): Remove entry for -stack-info-frame.
/* Supply register REGNUM, whose contents are stored in BUF, to REGCACHE. */
void
-regcache_raw_supply (struct regcache *regcache, int regnum,
- const gdb_byte *buf)
+regcache_raw_supply (struct regcache *regcache, int regnum, const void *buf)
{
void *regbuf;
size_t size;
/* Collect register REGNUM from REGCACHE and store its contents in BUF. */
void
-regcache_raw_collect (const struct regcache *regcache, int regnum,
- gdb_byte *buf)
+regcache_raw_collect (const struct regcache *regcache, int regnum, void *buf)
{
const void *regbuf;
size_t size;
target_fetch_registers() or target_store_registers(). */
extern void regcache_raw_supply (struct regcache *regcache,
- int regnum, const gdb_byte *buf);
+ int regnum, const void *buf);
extern void regcache_raw_collect (const struct regcache *regcache,
- int regnum, gdb_byte *buf);
+ int regnum, void *buf);
/* The register's ``offset''.