From d9e7db065eb663303dc8f0dad2c784dde9df6555 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: Implement Ada multiplicative operators This implements the Ada multiplicative operators, using an existing template class. gdb/ChangeLog 2021-03-08 Tom Tromey * ada-lang.c (ada_mult_binop): No longer static. * ada-exp.h (ada_binop_mul_operation ada_binop_div_operation) (ada_binop_rem_operation, ada_binop_mod_operation): New typedefs. --- gdb/ada-lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 86ccc57..45f5592 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -10114,7 +10114,7 @@ ada_abs (struct type *expect_type, /* A helper function for BINOP_MUL. */ -static value * +value * ada_mult_binop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, -- cgit v1.1