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:28 -0700
commit95d49dfbba00253382d0f7ad0ea2052b2b7bc445 (patch)
tree1df86c9bb0993124254372ded67072501e904c63 /gdb/ada-lang.c
parent7c15d377deefea39bac6ce710d803cc23cbe19c9 (diff)
downloadgdb-95d49dfbba00253382d0f7ad0ea2052b2b7bc445.zip
gdb-95d49dfbba00253382d0f7ad0ea2052b2b7bc445.tar.gz
gdb-95d49dfbba00253382d0f7ad0ea2052b2b7bc445.tar.bz2
Introduce ada_unop_range_operation
This adds class ada_unop_range_operation, which implements UNOP_IN_RANGE. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * ada-lang.c (ada_unop_in_range): No longer static. * ada-exp.h (class ada_unop_range_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 ed691f5..0b4ef8b 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -9978,7 +9978,7 @@ ada_unop_neg (struct type *expect_type,
/* A helper function for UNOP_IN_RANGE. */
-static value *
+value *
ada_unop_in_range (struct type *expect_type,
struct expression *exp,
enum noside noside, enum exp_opcode op,