Split out eval_op_register
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:27:58 +0000 (07:27 -0700)
commitffff730bf6a939490b5e93a323ba2e4026d27818
tree4dbbad29bdc08043c7d02d9e0b4cd327ccb10db3
parent9b1d8af6833dd32ebc03c6372f98c432101dcf92
Split out eval_op_register

This splits OP_REGISTER into a new function for future use.

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

* eval.c (eval_op_register): New function.
(evaluate_subexp_standard): Use it.
gdb/ChangeLog
gdb/eval.c