Introduce float_const_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:14 +0000 (07:28 -0700)
commitcae26a0cb05be806ae97d4fabc1cb8e6773a1512
treeac4bc202818095d9767164f92fcc317bf0d86912
parent75f9892d435f58fd12e26638a56564e374bfa951
Introduce float_const_operation

This adds class float_const_operation, an operation holding a
floating-point constant.  Unlike most other new operations, this one
requires a custom 'dump' method.

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

* expprint.c (float_const_operation::dump): New method.
* expop.h (float_data): New typedef.
(class float_const_operation): New.
gdb/ChangeLog
gdb/expop.h
gdb/expprint.c