diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:32 -0700 |
commit | 6e8fb7b723199eed2706e5ef9ee464ed8b467f7f (patch) | |
tree | 11d3fc419f081f59781ed3fd22bdb0f9130b3d26 /gdb/ada-lang.c | |
parent | d9e7db065eb663303dc8f0dad2c784dde9df6555 (diff) | |
download | gdb-6e8fb7b723199eed2706e5ef9ee464ed8b467f7f.zip gdb-6e8fb7b723199eed2706e5ef9ee464ed8b467f7f.tar.gz gdb-6e8fb7b723199eed2706e5ef9ee464ed8b467f7f.tar.bz2 |
Implement Ada equality operators
This implements the Ada equal and not-equal operators.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* ada-lang.c (ada_equal_binop): No longer static.
* ada-exp.h (class ada_binop_equal_operation): New.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 45f5592..7ae3343 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -10134,7 +10134,7 @@ ada_mult_binop (struct type *expect_type, /* A helper function for BINOP_EQUAL and BINOP_NOTEQUAL. */ -static value * +value * ada_equal_binop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, |