summaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-25 22:24:39 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-25 22:24:39 +0000
commitb814415a8fffabeb188d8e4ae39c861a8a9570c9 (patch)
tree3a03c338d2878573f09c57c00df4ff93d120897e /gdb/eval.c
parentfc677c0e8cc51af5529c0a0a08eebef31ce156ee (diff)
downloadgdb-b814415a8fffabeb188d8e4ae39c861a8a9570c9.tar.gz
* cli/cli-script.c (execute_control_command): Replace value_ptr
with a struct value pointer. * ch-lang.c (evaluate_subexp_chill): Ditto. * printcmd.c (printf_command): Ditto. * tracepoint.c (set_traceframe_context): Ditto. (encode_actions): Ditto. * eval.c (evaluate_subexp_standard): Ditto.
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 8a41d30c9cf..a56ed84fb4a 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -620,7 +620,7 @@ evaluate_subexp_standard (struct type *expect_type,
return set;
}
- argvec = (value_ptr *) alloca (sizeof (value_ptr) * nargs);
+ argvec = (struct value **) alloca (sizeof (struct value *) * nargs);
for (tem = 0; tem < nargs; tem++)
{
/* Ensure that array expressions are coerced into pointer objects. */
@@ -673,7 +673,7 @@ evaluate_subexp_standard (struct type *expect_type,
nargs = longest_to_int (exp->elts[pc + 1].longconst);
/* Allocate arg vector, including space for the function to be
called in argvec[0] and a terminating NULL */
- argvec = (value_ptr *) alloca (sizeof (value_ptr) * (nargs + 3));
+ argvec = (struct value **) alloca (sizeof (struct value *) * (nargs + 3));
if (op == STRUCTOP_MEMBER || op == STRUCTOP_MPTR)
{
LONGEST fnptr;
@@ -969,7 +969,7 @@ evaluate_subexp_standard (struct type *expect_type,
/* It's a function call. */
/* Allocate arg vector, including space for the function to be
called in argvec[0] and a terminating NULL */
- argvec = (value_ptr *) alloca (sizeof (value_ptr) * (nargs + 2));
+ argvec = (struct value **) alloca (sizeof (struct value *) * (nargs + 2));
argvec[0] = arg1;
tem = 1;
for (; tem <= nargs; tem++)