Introduce ada_binop_in_bounds

This adds class ada_binop_in_bounds, which implements BINOP_IN_BOUNDS.

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

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

View file

@ -10237,7 +10237,7 @@ ada_ternop_slice (struct expression *exp,
/* A helper function for BINOP_IN_BOUNDS. */
static value *
value *
ada_binop_in_bounds (struct expression *exp, enum noside noside,
struct value *arg1, struct value *arg2, int n)
{