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 | 3406941c75368c4a6654dde655e403a809a65638 (patch) | |
tree | e3c84a9513c56cfa42c1fd32ba59f0ce01006fb6 /gdb/gdbarch.sh | |
parent | 6e93a67403d4deb0846cfebe89a78bc01d005edc (diff) | |
download | gdb-3406941c75368c4a6654dde655e403a809a65638.tar.gz |
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.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 755ffa71e29..a0a6a414339 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -423,8 +423,8 @@ F:TARGET_READ_SP:CORE_ADDR:read_sp:void # serious shakedown. f:TARGET_VIRTUAL_FRAME_POINTER:void:virtual_frame_pointer:CORE_ADDR pc, int *frame_regnum, LONGEST *frame_offset:pc, frame_regnum, frame_offset:0:legacy_virtual_frame_pointer::0 # -M::void:pseudo_register_read:struct regcache *regcache, int cookednum, void *buf:regcache, cookednum, buf -M::void:pseudo_register_write:struct regcache *regcache, int cookednum, const void *buf:regcache, cookednum, buf +M::void:pseudo_register_read:struct regcache *regcache, int cookednum, gdb_byte *buf:regcache, cookednum, buf +M::void:pseudo_register_write:struct regcache *regcache, int cookednum, const gdb_byte *buf:regcache, cookednum, buf # v:=:int:num_regs:::0:-1 # This macro gives the number of pseudo-registers that live in the @@ -494,11 +494,11 @@ F:=:int:get_longjmp_target:CORE_ADDR *pc:pc v:=:int:believe_pcc_promotion::::::: # f:=:int:convert_register_p:int regnum, struct type *type:regnum, type:0:generic_convert_register_p::0 -f:=:void:register_to_value:struct frame_info *frame, int regnum, struct type *type, void *buf:frame, regnum, type, buf:0 -f:=:void:value_to_register:struct frame_info *frame, int regnum, struct type *type, const void *buf:frame, regnum, type, buf:0 +f:=:void:register_to_value:struct frame_info *frame, int regnum, struct type *type, gdb_byte *buf:frame, regnum, type, buf:0 +f:=:void:value_to_register:struct frame_info *frame, int regnum, struct type *type, const gdb_byte *buf:frame, regnum, type, buf:0 # -f:=:CORE_ADDR:pointer_to_address:struct type *type, const void *buf:type, buf::unsigned_pointer_to_address::0 -f:=:void:address_to_pointer:struct type *type, void *buf, CORE_ADDR addr:type, buf, addr::unsigned_address_to_pointer::0 +f:=:CORE_ADDR:pointer_to_address:struct type *type, const gdb_byte *buf:type, buf::unsigned_pointer_to_address::0 +f:=:void:address_to_pointer:struct type *type, gdb_byte *buf, CORE_ADDR addr:type, buf, addr::unsigned_address_to_pointer::0 M::CORE_ADDR:integer_to_address:struct type *type, const gdb_byte *buf:type, buf # # NOTE: cagney/2003-03-24: Replaced by PUSH_ARGUMENTS. @@ -512,15 +512,15 @@ F:=:void:deprecated_store_struct_return:CORE_ADDR addr, CORE_ADDR sp:addr, sp # the predicate with default hack to avoid calling STORE_RETURN_VALUE # (via legacy_return_value), when a small struct is involved. -M::enum return_value_convention:return_value:struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf:valtype, regcache, readbuf, writebuf::legacy_return_value +M::enum return_value_convention:return_value:struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf:valtype, regcache, readbuf, writebuf::legacy_return_value # The deprecated methods EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, # DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and # DEPRECATED_USE_STRUCT_CONVENTION have all been folded into # RETURN_VALUE. -f:=:void:extract_return_value:struct type *type, struct regcache *regcache, void *valbuf:type, regcache, valbuf::legacy_extract_return_value::0 -f:=:void:store_return_value:struct type *type, struct regcache *regcache, const void *valbuf:type, regcache, valbuf::legacy_store_return_value::0 +f:=:void:extract_return_value:struct type *type, struct regcache *regcache, gdb_byte *valbuf:type, regcache, valbuf::legacy_extract_return_value::0 +f:=:void:store_return_value:struct type *type, struct regcache *regcache, const gdb_byte *valbuf:type, regcache, valbuf::legacy_store_return_value::0 f:=:void:deprecated_extract_return_value:struct type *type, gdb_byte *regbuf, gdb_byte *valbuf:type, regbuf, valbuf f:=:void:deprecated_store_return_value:struct type *type, gdb_byte *valbuf:type, valbuf f:=:int:deprecated_use_struct_convention:int gcc_p, struct type *value_type:gcc_p, value_type::generic_use_struct_convention::0 |