Split helper functions
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:08 +0000 (07:28 -0700)
commit13ea014aeefb4a11d43c2e9d9e28064a46bd5a4a
tree4d2010fd11bcfd1d9beed9c624ab8e513645a8d4
parent1fa41fc710dd282dacb67cd035af7e350b1b1057
Split helper functions

This splits a couple of address-of and sizeof functions, so that the
body can be reused by the (coming) new expression code.

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

* eval.c (evaluate_subexp_for_address_base): New function.
(evaluate_subexp_for_address): Use it.
(evaluate_subexp_for_sizeof_base): New function.
(evaluate_subexp_for_sizeof): Use it.
gdb/ChangeLog
gdb/eval.c
This page took 0.025577 seconds and 4 git commands to generate.