mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* 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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user