diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-05-14 11:34:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-05-14 11:34:43 +0000 |
commit | 459f20b9a169b46f7b74581964ae6d160c595c83 (patch) | |
tree | b8f86ebd1c9433b0017825a7fda9bc0f43bf4b28 /gdb | |
parent | 42835c2ba0de387d6fa747413d4f6198d06a0f03 (diff) | |
download | gdb-459f20b9a169b46f7b74581964ae6d160c595c83.zip gdb-459f20b9a169b46f7b74581964ae6d160c595c83.tar.gz gdb-459f20b9a169b46f7b74581964ae6d160c595c83.tar.bz2 |
* vax-tdep.c (vax_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
Diffstat (limited to 'gdb')
-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]; |