Refactor value_pos_atr
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)
commit7992accc6e5dc674ab209397acc1d840f869c326
tree10cbd039119f3a3811e6440760826ba27ce6a558
parent6ad3b8bf3b118e9635a0dcc022128496f4fc13ca
Refactor value_pos_atr

This refactors value_pos_atr to be directly usable by a new operation
implementation.

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

* ada-lang.c (ada_pos_atr): Rename from value_pos_atr.  Change
parameters.
(ada_evaluate_subexp): Use it.
gdb/ChangeLog
gdb/ada-lang.c