]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* arm-tdep.c (arm_return_value): Change type of readbuf and
authorMark Kettenis <kettenis@gnu.org>
Sun, 15 Jan 2006 14:51:28 +0000 (14:51 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 15 Jan 2006 14:51:28 +0000 (14:51 +0000)
writebuf arguments to `gdb_byte *'.

gdb/ChangeLog
gdb/arm-tdep.c

index 32434a26074335c46e2b06f5bce35f3855221ea7..c0a1f387da26b00b0bb4c0920b0fec8950f7596a 100644 (file)
@@ -1,5 +1,8 @@
 2006-01-15  Mark Kettenis  <kettenis@gnu.org>
 
+       * arm-tdep.c (arm_return_value): Change type of readbuf and
+       writebuf arguments to `gdb_byte *'.
+
        * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
        * Makefile.in (s390-tdep.o): Update dependencies.
 
index f0a4728b6c3fa1d811b1a3e275f71fa0f3ee25c0..05aad8484ca819bdb983dc7b785c4865d4149b57 100644 (file)
@@ -1,7 +1,8 @@
 /* Common target dependent code for GDB on ARM systems.
 
    Copyright (C) 1988, 1989, 1991, 1992, 1993, 1995, 1996, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -2258,8 +2259,8 @@ arm_store_return_value (struct type *type, struct regcache *regs,
 
 static enum return_value_convention
 arm_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