diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:08 -0700 |
commit | 13ea014aeefb4a11d43c2e9d9e28064a46bd5a4a (patch) | |
tree | 4d2010fd11bcfd1d9beed9c624ab8e513645a8d4 /gdb/m2-lang.c | |
parent | 1fa41fc710dd282dacb67cd035af7e350b1b1057 (diff) | |
download | gdb-13ea014aeefb4a11d43c2e9d9e28064a46bd5a4a.zip gdb-13ea014aeefb4a11d43c2e9d9e28064a46bd5a4a.tar.gz gdb-13ea014aeefb4a11d43c2e9d9e28064a46bd5a4a.tar.bz2 |
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.
Diffstat (limited to 'gdb/m2-lang.c')
0 files changed, 0 insertions, 0 deletions