From 1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 16 Oct 2001 01:58:07 +0000 Subject: * value.h (value_as_address): Rename value_as_pointer. * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c, jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c, values.c: Update. --- gdb/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index d57f0b5..7cdc4bd 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1436,7 +1436,7 @@ get_prompt_1 (void *data) break; case TYPE_CODE_PTR: elt_type = check_typedef (TYPE_TARGET_TYPE (arg_type)); - addrval = value_as_pointer (arg_val); + addrval = value_as_address (arg_val); if (TYPE_LENGTH (elt_type) == 1 && TYPE_CODE (elt_type) == TYPE_CODE_INT && -- cgit v1.1