This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Use gdb_byte * in ppcnbsd-tdep.c
- From: "Nathan J. Williams" <nathanw at wasabisystems dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 01 May 2006 11:10:35 -0400
- Subject: [commit] Use gdb_byte * in ppcnbsd-tdep.c
Committed as obvious.
- Nathan
2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
* ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
arguments from void * to gdb_byte *.
Index: ppcnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v
retrieving revision 1.27
diff -u -r1.27 ppcnbsd-tdep.c
--- ppcnbsd-tdep.c 17 Dec 2005 22:34:01 -0000 1.27
+++ ppcnbsd-tdep.c 1 May 2006 15:01:52 -0000
@@ -246,8 +246,8 @@
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)