diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-06-18 15:22:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-06-18 15:22:55 +0000 |
commit | 6618125dce91585bad936af009a55449740cf3bb (patch) | |
tree | e22a644998a3b0e28ad1a2bb619608de0e7b552d /gdb/regcache.c | |
parent | 73d147dcf03d3a76c9a9f9b569ac864bed0927bf (diff) | |
download | gdb-6618125dce91585bad936af009a55449740cf3bb.zip gdb-6618125dce91585bad936af009a55449740cf3bb.tar.gz gdb-6618125dce91585bad936af009a55449740cf3bb.tar.bz2 |
* 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.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 0150223..e023f83 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; |