* 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.
This commit is contained in:
Mark Kettenis
2005-05-14 11:27:03 +00:00
parent 58d6f3a5e6
commit 42835c2ba0
5 changed files with 31 additions and 19 deletions

View File

@ -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'