Introduce unop_cast_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:24 +0000 (07:28 -0700)
commit165a813a3abaa1f5993d754765bff2cfa9755995
tree894fdd041f92d7cf2f04a0fe27229d50834322a3
parente5946e1604068a154a8541f88d74ad75a9e52fac
Introduce unop_cast_operation

This adds class unop_cast_operation, which implements UNOP_CAST.

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

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