summaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-18 15:22:55 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-18 15:22:55 +0000
commitc5c157b9e8b83fa1da7316890a8bfc7deaa9f350 (patch)
treed39e2da61bc85fe511d1b996103653fd5b87d75b /gdb/regcache.c
parent4366f5c463fb90930ab149df0181dd2842dff266 (diff)
downloadgdb-c5c157b9e8b83fa1da7316890a8bfc7deaa9f350.tar.gz
* 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.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 0150223f9c0..e023f839f88 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -1002,8 +1002,7 @@ write_register_pid (int regnum, CORE_ADDR val, ptid_t ptid)
/* 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;
@@ -1036,8 +1035,7 @@ regcache_raw_supply (struct regcache *regcache, int regnum,
/* 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;