From 252241660804b50e3c47d690637f6a40ac56695d Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 15 Jan 2006 14:51:28 +0000 Subject: [PATCH] * arm-tdep.c (arm_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. --- gdb/ChangeLog | 3 +++ gdb/arm-tdep.c | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32434a26074..c0a1f387da2 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 f0a4728b6c3..05aad8484ca 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 -- 2.30.2