Introduce ada_wrapped_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:25 +0000 (07:28 -0700)
commit03070ee9c77877655051c073cf060585f7cb2ff2
treebc8dfd2a72ea6b5324ac40ca94a460d93bdfd573
parent821e72d77536b201b3e6b801d8f0d9c5b624ec96
Introduce ada_wrapped_operation

This adds class ada_wrapped_operation, which is used to wrap some
generic operations with a bit of Ada-specific handling.  This
corresponds to the old "default" case in ada_evaluate_subexp.

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

* ada-lang.c (ada_wrapped_operation::evaluate): New method.
* ada-exp.h: New file.
gdb/ChangeLog
gdb/ada-exp.h [new file with mode: 0644]
gdb/ada-lang.c