Split out ada_ternop_slice
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:12 +0000 (07:28 -0700)
commit5ce19db80f15af66a17acf02e1d831b387220ca7
treeb581378777ff5db09bf109dfe549750412df3b31
parent214b13ac3b8f041af4bd643808590955528a1d27
Split out ada_ternop_slice

This splits TERNOP_SLICE into a new function for future use.

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

* ada-lang.c (ada_ternop_slice): New function.
(ada_evaluate_subexp): Use it.
gdb/ChangeLog
gdb/ada-lang.c