This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Fix gdb_byte fallout for vax
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 14 May 2005 13:34:49 +0200 (CEST)
- Subject: [COMMIT] Fix gdb_byte fallout for vax
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* vax-tdep.c (vax_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
Index: vax-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/vax-tdep.c,v
retrieving revision 1.88
diff -u -p -r1.88 vax-tdep.c
--- vax-tdep.c 9 May 2005 20:00:40 -0000 1.88
+++ vax-tdep.c 14 May 2005 11:33:17 -0000
@@ -203,8 +203,8 @@ vax_unwind_dummy_id (struct gdbarch *gdb
static enum return_value_convention
vax_return_value (struct gdbarch *gdbarch, struct type *type,
- struct regcache *regcache, void *readbuf,
- const void *writebuf)
+ struct regcache *regcache, gdb_byte *readbuf,
+ const gdb_byte *writebuf)
{
int len = TYPE_LENGTH (type);
gdb_byte buf[8];