Introduce long_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:15 +0000 (07:28 -0700)
commitd336c29e3f1b9adc314fcf44af38fb1d2b65b5e6
treee76b05efc4d4dd1e609922133b17f499f9c8bed6
parentd5ab122c48fec1eb617598c02c6efdf9ba1ee23f
Introduce long_const_operation

This adds class long_const_operation, which holds a scalar constant.

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

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