forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -317,8 +317,8 @@ make_pointer_type (struct type *type, struct type **typeptr)
|
||||
TYPE_CODE (ntype) = TYPE_CODE_PTR;
|
||||
|
||||
/* Mark pointers as unsigned. The target converts between pointers
|
||||
and addresses (CORE_ADDRs) using POINTER_TO_ADDRESS() and
|
||||
ADDRESS_TO_POINTER(). */
|
||||
and addresses (CORE_ADDRs) using gdbarch_pointer_to_address and
|
||||
gdbarch_address_to_pointer. */
|
||||
TYPE_FLAGS (ntype) |= TYPE_FLAG_UNSIGNED;
|
||||
|
||||
if (!TYPE_POINTER_TYPE (type)) /* Remember it, if don't have one. */
|
||||
|
||||
Reference in New Issue
Block a user