diff options
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/vax-tdep.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1efbfeb..511a4f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 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 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 5fc96a3..fa27617 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]; |