Introduce ada_binop_addsub_operation
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:32 +0000 (07:28 -0700)
commit73796c73263da16cedbefd5a43ab7e1887836115
treec6d74fd8ea50be3c5f5643c26dc518d802c2f511
parentcd9a314824b2b87207a8ba7a8003639989d2406b
Introduce ada_binop_addsub_operation

This adds class ada_binop_addsub_operation, which implements the Ada +
and - operators.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* ada-lang.c (ada_binop_addsub_operation::evaluate): New method.
* ada-exp.h (class ada_binop_addsub_operation): New.
gdb/ChangeLog
gdb/ada-exp.h
gdb/ada-lang.c