Implement some Ada unary operations
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:28 +0000 (07:28 -0700)
commit7c15d377deefea39bac6ce710d803cc23cbe19c9
tree49eec625122c2468d7b4a9c904b943aeefa5b306
parent5019124b1ddc3839bd8ccba08819b11c0151e8a9
Implement some Ada unary operations

This implements a few Ada unary operations, using the existing
unop_operation template class.

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

* ada-lang.c (ada_unop_neg, ada_atr_tag, ada_atr_size, ada_abs):
No longer static.
* ada-exp.h (ada_neg_operation, ada_atr_tag_operation)
(ada_atr_size_operation, ada_abs_operation): New typedefs.
gdb/ChangeLog
gdb/ada-exp.h
gdb/ada-lang.c