Split out ada_atr_size
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:11 +0000 (07:28 -0700)
commit68c757358fc3d41ec26b2159cdbcac4f757dc3a2
treec6cead7b624835284c413f5838c67c6b0b78ac1f
parent020dbabe22262ee118c29c768d7b9d66b1c65e67
Split out ada_atr_size

This splits OP_ATR_SIZE into a new function for future use.

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

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