Introduce unop_sizeof_operation
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:22 +0000 (07:28 -0700)
commit85d23bda83101f4c278337428dc15eda0eecc95b
tree919485b3aaf4a2eaade8a265e9fea942d753b3e3
parent14aff815df1efbbc573df75b7fc65017e9399c84
Introduce unop_sizeof_operation

This adds class unop_sizeof_operation, which implements UNOP_SIZEOF.

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

* expop.h (class unop_sizeof_operation): New.
* ax-gdb.c (unop_sizeof_operation::do_generate_ax): New method.
gdb/ChangeLog
gdb/ax-gdb.c
gdb/expop.h