Introduce ada_ternop_slice

This adds class ada_ternop_slice, which implements TERNOP_SLICE for
Ada.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

	* ada-lang.c (ada_ternop_slice): No longer static.
	* ada-exp.h (class ada_ternop_slice_operation): New.
This commit is contained in:
Tom Tromey
2021-03-08 07:27:57 -07:00
parent 039e4b76be
commit 1b1ebfab47
3 changed files with 33 additions and 1 deletions

View File

@@ -10156,7 +10156,7 @@ ada_equal_binop (struct type *expect_type,
/* A helper function for TERNOP_SLICE. */
static value *
value *
ada_ternop_slice (struct expression *exp,
enum noside noside,
struct value *array, struct value *low_bound_val,