Introduce ada_atr_val_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:35 +0000 (07:28 -0700)
commit9e99f48f27790c43d5fd663c9eb4c3a19ae49efa
tree7be2a4a52c7744deea83464c9ed4a0dd604babe1
parent7631cf6cc8812fef7d27aff800e12f8e31393f29
Introduce ada_atr_val_operation

This adds class ada_atr_val_operation, which implements OP_ATR_VAL.

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

* ada-lang.c (ada_val_atr): No longer static.
(ada_atr_val_operation::evaluate): New method.
* ada-exp.h (class ada_atr_val_operation): New.
gdb/ChangeLog
gdb/ada-exp.h
gdb/ada-lang.c