aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-01-15 14:51:28 +0000
committerMark Kettenis <kettenis@gnu.org>2006-01-15 14:51:28 +0000
commit252241660804b50e3c47d690637f6a40ac56695d (patch)
tree158b1269e37c7d639e788f7052f293fcd9f3db6b /gdb
parent469db0334575ee2ca988db263fb102b9a91ab3f9 (diff)
downloadgdb-252241660804b50e3c47d690637f6a40ac56695d.zip
gdb-252241660804b50e3c47d690637f6a40ac56695d.tar.gz
gdb-252241660804b50e3c47d690637f6a40ac56695d.tar.bz2
* arm-tdep.c (arm_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/arm-tdep.c7
2 files changed, 7 insertions, 3 deletions
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 <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.
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