]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* regcache.c (regcache_raw_supply, regcache_raw_collect): Change
authorMark Kettenis <kettenis@gnu.org>
Sat, 18 Jun 2005 15:22:55 +0000 (15:22 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 18 Jun 2005 15:22:55 +0000 (15:22 +0000)
type of last argument back to `void *'.
* regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.

gdb/ChangeLog
gdb/regcache.c
gdb/regcache.h

index cecc31a74607ed85b07b242bb37c6646dca51103..3a1e05e4608fcb51ec19deec771c8f4977582d5e 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 0150223f9c0e0b39c72359cec5eaae8975b911e5..e023f839f881b053271c803f9217be5a1a53d976 100644 (file)
@@ -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;
index d02e4114b2d21d6cce17c69ebb8731635695e004..707f7307c9d23a614915df4854ad9d72ff931825 100644 (file)
@@ -98,9 +98,9 @@ void regcache_cooked_write_part (struct regcache *regcache, int regnum,
    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''.