Split out eval_op_structop_struct
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:59 +0000 (07:27 -0700)
commit3e96c4fc0f4b286c96e6c95618c7f34293185308
treef3f8263a86d65b95d0cf8789395a7afdcae5cded
parentf960a6176a3185a013db507c29d99d8c92eb21b9
Split out eval_op_structop_struct

This splits STRUCTOP_STRUCT into a new function for future use.

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

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