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:33 -0700
commit82c3886e24b3fed8d7e61b41f8cfdc17eedd88f8 (patch)
treec19afa5d25b2dcd274ece98ae70ef335954d6f50 /gdb/ada-lang.c
parent1b1ebfab47433232078d9352d6d5ebd7baee1850 (diff)
downloadbinutils-82c3886e24b3fed8d7e61b41f8cfdc17eedd88f8.zip
binutils-82c3886e24b3fed8d7e61b41f8cfdc17eedd88f8.tar.gz
binutils-82c3886e24b3fed8d7e61b41f8cfdc17eedd88f8.tar.bz2
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.
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 3f14922..2424167 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -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)
{