diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-05-14 06:07:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-05-14 06:07:42 +0000 |
commit | b60c417a185258335c81f3d531cc0bba01763a52 (patch) | |
tree | 2c95321b5eb77ad915ed8ca4180c490db936c8b1 /gdb/gdbarch.c | |
parent | 1fe44d798603c762f0c3570717a7741d82d9de9b (diff) | |
download | gdb-b60c417a185258335c81f3d531cc0bba01763a52.zip gdb-b60c417a185258335c81f3d531cc0bba01763a52.tar.gz gdb-b60c417a185258335c81f3d531cc0bba01763a52.tar.bz2 |
2005-05-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (pseudo_register_read, pseudo_register_write)
(value_to_register, register_to_value, pointer_to_address)
(address_to_pointer, return_value, extract_return_value)
(store_return_value): Instead of a void pointer, use gdb_byte.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (unsigned_address_to_pointer)
(signed_pointer_to_address, address_to_signed_pointer)
(unsigned_pointer_to_address): Update.
* arch-utils.h (legacy_return_value):
* arch-utils.c (legacy_extract_return_value)
(legacy_return_value): Update.
* findvar.c (unsigned_pointer_to_address)
(signed_pointer_to_address, unsigned_address_to_pointer)
(address_to_signed_pointer): Update.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index cde8ab8..c4e390e 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -2016,7 +2016,7 @@ gdbarch_pseudo_register_read_p (struct gdbarch *gdbarch) } void -gdbarch_pseudo_register_read (struct gdbarch *gdbarch, struct regcache *regcache, int cookednum, void *buf) +gdbarch_pseudo_register_read (struct gdbarch *gdbarch, struct regcache *regcache, int cookednum, gdb_byte *buf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->pseudo_register_read != NULL); @@ -2040,7 +2040,7 @@ gdbarch_pseudo_register_write_p (struct gdbarch *gdbarch) } void -gdbarch_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, int cookednum, const void *buf) +gdbarch_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, int cookednum, const gdb_byte *buf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->pseudo_register_write != NULL); @@ -2654,7 +2654,7 @@ set_gdbarch_convert_register_p (struct gdbarch *gdbarch, } void -gdbarch_register_to_value (struct gdbarch *gdbarch, struct frame_info *frame, int regnum, struct type *type, void *buf) +gdbarch_register_to_value (struct gdbarch *gdbarch, struct frame_info *frame, int regnum, struct type *type, gdb_byte *buf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->register_to_value != NULL); @@ -2671,7 +2671,7 @@ set_gdbarch_register_to_value (struct gdbarch *gdbarch, } void -gdbarch_value_to_register (struct gdbarch *gdbarch, struct frame_info *frame, int regnum, struct type *type, const void *buf) +gdbarch_value_to_register (struct gdbarch *gdbarch, struct frame_info *frame, int regnum, struct type *type, const gdb_byte *buf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->value_to_register != NULL); @@ -2688,7 +2688,7 @@ set_gdbarch_value_to_register (struct gdbarch *gdbarch, } CORE_ADDR -gdbarch_pointer_to_address (struct gdbarch *gdbarch, struct type *type, const void *buf) +gdbarch_pointer_to_address (struct gdbarch *gdbarch, struct type *type, const gdb_byte *buf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->pointer_to_address != NULL); @@ -2705,7 +2705,7 @@ set_gdbarch_pointer_to_address (struct gdbarch *gdbarch, } void -gdbarch_address_to_pointer (struct gdbarch *gdbarch, struct type *type, void *buf, CORE_ADDR addr) +gdbarch_address_to_pointer (struct gdbarch *gdbarch, struct type *type, gdb_byte *buf, CORE_ADDR addr) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->address_to_pointer != NULL); @@ -2777,7 +2777,7 @@ gdbarch_return_value_p (struct gdbarch *gdbarch) } enum return_value_convention -gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) +gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->return_value != NULL); @@ -2795,7 +2795,7 @@ set_gdbarch_return_value (struct gdbarch *gdbarch, } void -gdbarch_extract_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *valbuf) +gdbarch_extract_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *valbuf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->extract_return_value != NULL); @@ -2812,7 +2812,7 @@ set_gdbarch_extract_return_value (struct gdbarch *gdbarch, } void -gdbarch_store_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const void *valbuf) +gdbarch_store_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const gdb_byte *valbuf) { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->store_return_value != NULL); |