Introduce ada_var_value_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:34 +0000 (07:28 -0700)
commit99a3b1e77b6bd5fdca5874d3276ab9499308bc08
treec5a36d4b92aaa0c2879c84923d402042629d4a04
parent60fa02ca6fdaaf3f0afef842a4eb6b13286828a5
Introduce ada_var_value_operation

This adds class ada_var_value_operation, which implements OP_VAR_VALUE
for Ada.

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

* ada-lang.c (ada_var_value_operation::evaluate_for_cast)
(ada_var_value_operation::evaluate): New methods.
* ada-exp.h (class ada_var_value_operation): New.
gdb/ChangeLog
gdb/ada-exp.h
gdb/ada-lang.c