aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:32 -0700
commitd9e7db065eb663303dc8f0dad2c784dde9df6555 (patch)
tree29225c0ff2cdaf56cf6eb037e279354fbbf3e59c /gdb/ada-lang.c
parent73796c73263da16cedbefd5a43ab7e1887836115 (diff)
downloadgdb-d9e7db065eb663303dc8f0dad2c784dde9df6555.zip
gdb-d9e7db065eb663303dc8f0dad2c784dde9df6555.tar.gz
gdb-d9e7db065eb663303dc8f0dad2c784dde9df6555.tar.bz2
Implement Ada multiplicative operators
This implements the Ada multiplicative operators, using an existing template class. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * 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.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
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,