aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-10-16 01:58:07 +0000
committerAndrew Cagney <cagney@redhat.com>2001-10-16 01:58:07 +0000
commit1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0 (patch)
treeee454a018ac2871270bbca8caaabe9a2722481a2 /gdb/eval.c
parentdbbd9c57ff004955375f214b66a29cd0abf101fd (diff)
downloadgdb-1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0.zip
gdb-1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0.tar.gz
gdb-1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0.tar.bz2
* 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.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index fad995e..5638d2c 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -80,7 +80,7 @@ parse_and_eval_address (char *exp)
register struct cleanup *old_chain =
make_cleanup (free_current_contents, &expr);
- addr = value_as_pointer (evaluate_expression (expr));
+ addr = value_as_address (evaluate_expression (expr));
do_cleanups (old_chain);
return addr;
}
@@ -96,7 +96,7 @@ parse_and_eval_address_1 (char **expptr)
register struct cleanup *old_chain =
make_cleanup (free_current_contents, &expr);
- addr = value_as_pointer (evaluate_expression (expr));
+ addr = value_as_address (evaluate_expression (expr));
do_cleanups (old_chain);
return addr;
}
@@ -1676,7 +1676,7 @@ evaluate_subexp_standard (struct type *expect_type,
return value_zero (exp->elts[pc + 1].type, lval_memory);
else
return value_at_lazy (exp->elts[pc + 1].type,
- value_as_pointer (arg1),
+ value_as_address (arg1),
NULL);
case UNOP_PREINCREMENT: