From f976f6d464baa59f8d890626648c74943aed1ce1 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 25 Dec 2001 22:24:39 +0000 Subject: * 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. --- gdb/ch-lang.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/ch-lang.c') diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index ec3a76e..f65e635 100644 --- a/gdb/ch-lang.c +++ b/gdb/ch-lang.c @@ -536,7 +536,8 @@ evaluate_subexp_chill (struct type *expect_type, /* 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 <= TYPE_NFIELDS (type); tem++) -- cgit v1.1