From 76e713237b3bb87b52b7716262a63fefd4a7f0bf Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 6 Jun 2007 15:23:06 +0000 Subject: 2007-06-06 Markus Deuling * 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. --- gdb/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/utils.c') diff --git a/gdb/utils.c b/gdb/utils.c index f5325f6..e1fb9ed 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -2559,7 +2559,7 @@ paddress (CORE_ADDR addr) when it won't occur. */ /* NOTE: This assumes that the significant address information is kept in the least significant bits of ADDR - the upper bits were - either zero or sign extended. Should ADDRESS_TO_POINTER() or + either zero or sign extended. Should gdbarch_address_to_pointer or some ADDRESS_TO_PRINTABLE() be used to do the conversion? */ int addr_bit = TARGET_ADDR_BIT; -- cgit v1.1