Introduce unop_ind_operation
[binutils-gdb.git] / gdb / ChangeLog
index 582489891b48bc9480fd3e28fe9fe76d3f2ce558..da7cd6916f8d60073e67281685ff8726d67607e2 100644 (file)
@@ -1,3 +1,12 @@
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class unop_ind_base_operation)
+       (class unop_ind_operation): New.
+       * eval.c (eval_op_ind): No longer static.  Remove "op" parameter.
+       (unop_ind_base_operation::evaluate_for_address)
+       (unop_ind_base_operation::evaluate_for_sizeof): New method.
+       * ax-gdb.c (gen_expr_unop) <case UNOP_IND>: New.
+
 2021-03-08  Tom Tromey  <tom@tromey.com>
 
        * expop.h (unop_incr_operation): New template.