From 459f20b9a169b46f7b74581964ae6d160c595c83 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 14 May 2005 11:34:43 +0000 Subject: [PATCH] * vax-tdep.c (vax_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. --- gdb/ChangeLog | 3 +++ gdb/vax-tdep.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1efbfeb43f1..511a4f7b2ba 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2005-05-14 Mark Kettenis + * vax-tdep.c (vax_return_value): Change type of readbuf and + writebuf arguments to `gdb_byte *'. + * amd64-tdep.c (amd64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Remove now redundant casts. * i386-tdep.c (i386_return_value): Change type of readbuf and diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c index 5fc96a3c354..fa276171168 100644 --- a/gdb/vax-tdep.c +++ b/gdb/vax-tdep.c @@ -203,8 +203,8 @@ vax_unwind_dummy_id (struct gdbarch *gdbarch, struct frame_info *next_frame) 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]; -- 2.30.2