From 21f79b33e5b4d28e4eeb4d4f840a72ac87e8ac8a Mon Sep 17 00:00:00 2001 From: "Nathan J. Williams" Date: Mon, 1 May 2006 15:10:26 +0000 Subject: [PATCH] 2006-05-01 Nathan J. Williams * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two arguments from void * to gdb_byte *. --- gdb/ChangeLog | 5 +++++ gdb/ppcnbsd-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a92b514310b..5e2ba22aa85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-05-01 Nathan J. Williams + + * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two + arguments from void * to gdb_byte *. + 2006-04-26 Michael Snyder * linux-fork.c (_initialize_linux_fork): Rename "delete-fork" diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c index 9547fcd988c..57ba742c85a 100644 --- a/gdb/ppcnbsd-tdep.c +++ b/gdb/ppcnbsd-tdep.c @@ -246,8 +246,8 @@ static struct core_fns ppcnbsd_elfcore_fns = static enum return_value_convention ppcnbsd_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