From 1594e0bb3d35b05aa53519f08021fb15bf26f1dc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: Introduce ternop_slice_operation This adds class ternop_slice_operation, which implements TERNOP_SLICE. gdb/ChangeLog 2021-03-08 Tom Tromey * expop.h (class ternop_slice_operation): New. * eval.c (eval_op_ternop): No longer static. --- gdb/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/eval.c') diff --git a/gdb/eval.c b/gdb/eval.c index e68a93d..c667925 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -1327,7 +1327,7 @@ eval_op_concat (struct type *expect_type, struct expression *exp, /* A helper function for TERNOP_SLICE. */ -static struct value * +struct value * eval_op_ternop (struct type *expect_type, struct expression *exp, enum noside noside, struct value *array, struct value *low, struct value *upper) -- cgit v1.1