* arm-tdep.c (arm_return_value): Change type of readbuf and

writebuf arguments to `gdb_byte *'.
This commit is contained in:
Mark Kettenis 2006-01-15 14:51:28 +00:00
parent 469db03345
commit 2522416608
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2006-01-15 Mark Kettenis <kettenis@gnu.org> 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". * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
* Makefile.in (s390-tdep.o): Update dependencies. * Makefile.in (s390-tdep.o): Update dependencies.

View file

@ -1,7 +1,8 @@
/* Common target dependent code for GDB on ARM systems. /* Common target dependent code for GDB on ARM systems.
Copyright (C) 1988, 1989, 1991, 1992, 1993, 1995, 1996, 1998, 1999, 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. 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 static enum return_value_convention
arm_return_value (struct gdbarch *gdbarch, struct type *valtype, arm_return_value (struct gdbarch *gdbarch, struct type *valtype,
struct regcache *regcache, void *readbuf, struct regcache *regcache, gdb_byte *readbuf,
const void *writebuf) const gdb_byte *writebuf)
{ {
if (TYPE_CODE (valtype) == TYPE_CODE_STRUCT if (TYPE_CODE (valtype) == TYPE_CODE_STRUCT
|| TYPE_CODE (valtype) == TYPE_CODE_UNION || TYPE_CODE (valtype) == TYPE_CODE_UNION