summaryrefslogtreecommitdiff
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
commit1e38ee73dc6261d6acc59daa3cb43214b525de5b (patch)
treea5bf778981012265c1bc9b9bc26f2f5d649349f7 /gdb/i387-tdep.h
parente6b4d83022a9f26fbbd6472aa8cef52ba8d007f5 (diff)
downloadgdb-1e38ee73dc6261d6acc59daa3cb43214b525de5b.tar.gz
* 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 38e67559890..a499fcb4985 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'