OSDN Git Service

2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
authorNathan J. Williams <nathanw@wasabisystems.com>
Mon, 1 May 2006 15:10:26 +0000 (15:10 +0000)
committerNathan J. Williams <nathanw@wasabisystems.com>
Mon, 1 May 2006 15:10:26 +0000 (15:10 +0000)
        * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
        arguments from void * to gdb_byte *.

gdb/ChangeLog
gdb/ppcnbsd-tdep.c

index a92b514..5e2ba22 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-01  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
+       arguments from void * to gdb_byte *.
+
 2006-04-26  Michael Snyder  <msnyder@redhat.com>
 
        * linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
index 9547fcd..57ba742 100644 (file)
@@ -246,8 +246,8 @@ static struct core_fns ppcnbsd_elfcore_fns =
 
 static enum return_value_convention
 ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype,
-                     struct regcache *regcache, void *readbuf,
-                     const void *writebuf)
+                     struct regcache *regcache, gdb_byte *readbuf,
+                     const gdb_byte *writebuf)
 {
   if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT
        || TYPE_CODE (valtype) == TYPE_CODE_UNION)