Add two agent expression 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:14 +0000 (07:28 -0700)
commit75f9892d435f58fd12e26638a56564e374bfa951
tree6ec69dd5e1d91fd0a367c4c69d1828a6311a123c
parentde401988aeac56a8478f61cde1b35e961742317b
Add two agent expression helper functions

This adds a couple of agent expression helper functions that will be
useful when implementing various operations.

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

* expop.h (gen_expr_binop, gen_expr_structop): Declare.
* ax-gdb.c (gen_expr_binop): New function.
(gen_expr_structop): Likewise.
gdb/ChangeLog
gdb/ax-gdb.c
gdb/expop.h