diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-05-14 11:27:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-05-14 11:27:03 +0000 |
commit | 42835c2ba0de387d6fa747413d4f6198d06a0f03 (patch) | |
tree | 602139b63292ce7152e0f1661c0d9b77983d54a1 /gdb/i387-tdep.c | |
parent | 58d6f3a5e60bda04d60f1c07db1a798981c0692e (diff) | |
download | gdb-42835c2ba0de387d6fa747413d4f6198d06a0f03.zip gdb-42835c2ba0de387d6fa747413d4f6198d06a0f03.tar.gz gdb-42835c2ba0de387d6fa747413d4f6198d06a0f03.tar.bz2 |
* 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
writebuf arguments to `gdb_byte *'.
(i386_pseudo_register_read, i386_pseudo_register_write): Change
type of last argument to `gdb_byte *'.
(i386_register_to_value, i386_value_to_register): Change type of
last argument to `gdb_byte *'. Simplify function a bit.
* i387-tdep.h (i387_value_to_register, i387_register_to_value):
Change type of last argument to `gdb_byte *'.
* i387-tdep.c: Likewise.
Diffstat (limited to 'gdb/i387-tdep.c')
-rw-r--r-- | gdb/i387-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index 0d3c988..e48afa7 100644 --- a/gdb/i387-tdep.c +++ b/gdb/i387-tdep.c @@ -292,7 +292,7 @@ i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, void i387_register_to_value (struct frame_info *frame, int regnum, - struct type *type, void *to) + struct type *type, gdb_byte *to) { char from[I386_MAX_REGISTER_SIZE]; @@ -317,7 +317,7 @@ i387_register_to_value (struct frame_info *frame, int regnum, void i387_value_to_register (struct frame_info *frame, int regnum, - struct type *type, const void *from) + struct type *type, const gdb_byte *from) { char to[I386_MAX_REGISTER_SIZE]; |