diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:23:06 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:23:06 +0000 |
commit | 76e713237b3bb87b52b7716262a63fefd4a7f0bf (patch) | |
tree | 1f66ea02278845474aa65d6d145171d4b58b9850 /gdb/std-regs.c | |
parent | 91104499cbd9014073c2808f646f967e529b8ec6 (diff) | |
download | gdb-76e713237b3bb87b52b7716262a63fefd4a7f0bf.zip gdb-76e713237b3bb87b52b7716262a63fefd4a7f0bf.tar.gz gdb-76e713237b3bb87b52b7716262a63fefd4a7f0bf.tar.bz2 |
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (ADDRESS_TO_POINTER): Replace by
gdbarch_address_to_pointer.
* findvar.c (store_typed_address): Likewise.
* gdbtypes.c (make_pointer_type): Likewise (comment).
* procfs.c (procfs_address_to_host_pointer): Likewise.
* std-regs.c (value_of_builtin_frame_reg): Likewise.
(value_of_builtin_frame_fp_reg): Likewise.
(value_of_builtin_frame_pc_reg): Likewise.
* utils.c (paddress): Likewise (comment).
* gdbarch.sh (POINTER_TO_ADDRESS): Replace by
gdbarch_pointer_to_address.
* findvar.c (extract_typed_address): Likewise.
* gdbtypes.c (make_pointer_type): Likewise (comment).
* valops.c (value_cast): Likewise (comment).
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/std-regs.c')
-rw-r--r-- | gdb/std-regs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/std-regs.c b/gdb/std-regs.c index 2edcba8..2aa5b36 100644 --- a/gdb/std-regs.c +++ b/gdb/std-regs.c @@ -64,8 +64,8 @@ value_of_builtin_frame_reg (struct frame_info *frame, const void *baton) memset (buf, 0, TYPE_LENGTH (value_type (val))); /* frame.base. */ if (frame != NULL) - ADDRESS_TO_POINTER (builtin_type_void_data_ptr, buf, - get_frame_base (frame)); + gdbarch_address_to_pointer (current_gdbarch, builtin_type_void_data_ptr, + buf, get_frame_base (frame)); buf += TYPE_LENGTH (builtin_type_void_data_ptr); /* frame.XXX. */ return val; @@ -89,8 +89,8 @@ value_of_builtin_frame_fp_reg (struct frame_info *frame, const void *baton) if (frame == NULL) memset (buf, 0, TYPE_LENGTH (value_type (val))); else - ADDRESS_TO_POINTER (builtin_type_void_data_ptr, buf, - get_frame_base_address (frame)); + gdbarch_address_to_pointer (current_gdbarch, builtin_type_void_data_ptr, + buf, get_frame_base_address (frame)); return val; } } @@ -107,8 +107,8 @@ value_of_builtin_frame_pc_reg (struct frame_info *frame, const void *baton) if (frame == NULL) memset (buf, 0, TYPE_LENGTH (value_type (val))); else - ADDRESS_TO_POINTER (builtin_type_void_data_ptr, buf, - get_frame_pc (frame)); + gdbarch_address_to_pointer (current_gdbarch, builtin_type_void_data_ptr, + buf, get_frame_pc (frame)); return val; } } |