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/arch-utils.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/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 13134fa..5a59637 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -41,7 +41,7 @@ register cache. */ void legacy_extract_return_value (struct type *type, struct regcache *regcache, - void *valbuf) + gdb_byte *valbuf) { char *registers = deprecated_grub_regcache_for_registers (regcache); gdb_byte *buf = valbuf; @@ -52,7 +52,7 @@ legacy_extract_return_value (struct type *type, struct regcache *regcache, Takes a local copy of the buffer to avoid const problems. */ void legacy_store_return_value (struct type *type, struct regcache *regcache, - const void *buf) + const gdb_byte *buf) { gdb_byte *b = alloca (TYPE_LENGTH (type)); gdb_assert (regcache == current_regcache); @@ -68,8 +68,8 @@ always_use_struct_convention (int gcc_p, struct type *value_type) enum return_value_convention legacy_return_value (struct gdbarch *gdbarch, struct type *valtype, - struct regcache *regcache, void *readbuf, - const void *writebuf) + struct regcache *regcache, gdb_byte *readbuf, + const gdb_byte *writebuf) { /* NOTE: cagney/2004-06-13: The gcc_p parameter to USE_STRUCT_CONVENTION isn't used. */ |