From: Mark Kettenis Date: Sun, 15 Jan 2006 14:51:28 +0000 (+0000) Subject: * arm-tdep.c (arm_return_value): Change type of readbuf and X-Git-Tag: gdb-csl-20060226-branchpoint~320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=252241660804b50e3c47d690637f6a40ac56695d;p=platform%2Fupstream%2Fbinutils.git * arm-tdep.c (arm_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32434a2..c0a1f38 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2006-01-15 Mark Kettenis + * 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. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index f0a4728..05aad84 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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