From 4b27a62068e668a3388d810ac078edadc5ff8822 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 23 Jun 2009 16:37:19 +0000 Subject: * ada-lang.c (evaluate_subexp): Delete. Use the version from eval.c. (evaluate_subexp_type): Reimplement using evaluate_subexp. * value.h (evaluate_subexp): Add declaration. * eval.c (evaluate_subexp): Make non-static. * objc-lang.c (print_object_command): Use evaluate_subexp. --- gdb/eval.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/eval.c') diff --git a/gdb/eval.c b/gdb/eval.c index df730057..c769872 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -56,9 +56,6 @@ static struct value *evaluate_subexp_for_sizeof (struct expression *, int *); static struct value *evaluate_subexp_for_address (struct expression *, int *, enum noside); -static struct value *evaluate_subexp (struct type *, struct expression *, - int *, enum noside); - static char *get_label (struct expression *, int *); static struct value *evaluate_struct_tuple (struct value *, @@ -69,7 +66,7 @@ static LONGEST init_array_element (struct value *, struct value *, struct expression *, int *, enum noside, LONGEST, LONGEST); -static struct value * +struct value * evaluate_subexp (struct type *expect_type, struct expression *exp, int *pos, enum noside noside) { -- cgit v1.1