aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-14 11:27:03 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-14 11:27:03 +0000
commit42835c2ba0de387d6fa747413d4f6198d06a0f03 (patch)
tree602139b63292ce7152e0f1661c0d9b77983d54a1 /gdb/i387-tdep.h
parent58d6f3a5e60bda04d60f1c07db1a798981c0692e (diff)
downloadgdb-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.h')
-rw-r--r--gdb/i387-tdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h
index 38e6755..a499fcb 100644
--- a/gdb/i387-tdep.h
+++ b/gdb/i387-tdep.h
@@ -60,13 +60,13 @@ extern void i387_print_float_info (struct gdbarch *gdbarch,
return its contents in TO. */
extern void i387_register_to_value (struct frame_info *frame, int regnum,
- struct type *type, void *to);
+ struct type *type, gdb_byte *to);
/* Write the contents FROM of a value of type TYPE into register
REGNUM in frame FRAME. */
extern void i387_value_to_register (struct frame_info *frame, int regnum,
- struct type *type, const void *from);
+ struct type *type, const gdb_byte *from);
/* Size of the memory area use by the 'fsave' and 'fxsave'