Introduce unop_cast_type_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)
commit292382f47ef08c5ec3292c612f737fe4b312c9f1
treef2d9e9490ac38fb8609578b84036bfc7955574fa
parent165a813a3abaa1f5993d754765bff2cfa9755995
Introduce unop_cast_type_operation

This adds class unop_cast_type_operation, which implements
UNOP_CAST_TYPE.

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

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