diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:18 -0700 |
commit | 808b22cfd7e1afdcba7dea700a76401e2f68f2c6 (patch) | |
tree | 0ea409776e9dbef65870525a3cb2ca6a0bbffd72 /gdb/eval.c | |
parent | 8cfd3e95b7624785a47e08b430d49b3d0329a0ee (diff) | |
download | gdb-808b22cfd7e1afdcba7dea700a76401e2f68f2c6.zip gdb-808b22cfd7e1afdcba7dea700a76401e2f68f2c6.tar.gz gdb-808b22cfd7e1afdcba7dea700a76401e2f68f2c6.tar.bz2 |
Introduce structop_operation
This adds class structop_base_operation and structop_operation, which
implement STRUCTOP_STRUCT. The base class exists to unify the
completion code between STRUCTOP_STRUCT and STRUCTOP_PTR.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expop.h (class structop_base_operation)
(class structop_operation): New.
* eval.c (eval_op_structop_struct): No longer static.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1342,7 +1342,7 @@ eval_op_ternop (struct type *expect_type, struct expression *exp, /* A helper function for STRUCTOP_STRUCT. */ -static struct value * +struct value * eval_op_structop_struct (struct type *expect_type, struct expression *exp, enum noside noside, struct value *arg1, const char *string) |