* vax-tdep.c (vax_return_value): Change type of readbuf and

writebuf arguments to `gdb_byte *'.
This commit is contained in:
Mark Kettenis 2005-05-14 11:34:43 +00:00
parent 42835c2ba0
commit 459f20b9a1
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2005-05-14 Mark Kettenis <kettenis@gnu.org> 2005-05-14 Mark Kettenis <kettenis@gnu.org>
* 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 * amd64-tdep.c (amd64_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'. Remove now redundant casts. writebuf arguments to `gdb_byte *'. Remove now redundant casts.
* i386-tdep.c (i386_return_value): Change type of readbuf and * i386-tdep.c (i386_return_value): Change type of readbuf and

View file

@ -203,8 +203,8 @@ vax_unwind_dummy_id (struct gdbarch *gdbarch, struct frame_info *next_frame)
static enum return_value_convention static enum return_value_convention
vax_return_value (struct gdbarch *gdbarch, struct type *type, vax_return_value (struct gdbarch *gdbarch, struct type *type,
struct regcache *regcache, void *readbuf, struct regcache *regcache, gdb_byte *readbuf,
const void *writebuf) const gdb_byte *writebuf)
{ {
int len = TYPE_LENGTH (type); int len = TYPE_LENGTH (type);
gdb_byte buf[8]; gdb_byte buf[8];