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:21 -0700 |
commit | 5b5f5140e1c37f899bf426ea7031548f4bd7e4ca (patch) | |
tree | 4634b027f3aad5319468821c788d38dc040f345f /gdb/eval.c | |
parent | 876469ffa1f52b15dfbc8336b31b908edf95fba6 (diff) | |
download | gdb-5b5f5140e1c37f899bf426ea7031548f4bd7e4ca.zip gdb-5b5f5140e1c37f899bf426ea7031548f4bd7e4ca.tar.gz gdb-5b5f5140e1c37f899bf426ea7031548f4bd7e4ca.tar.bz2 |
Introduce type_operation
This adds class type_operation, which implements OP_TYPE.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expop.h (class type_operation): New.
* eval.c (eval_op_type): No longer static.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2042,7 +2042,7 @@ eval_op_postdec (struct type *expect_type, struct expression *exp, /* A helper function for OP_TYPE. */ -static struct value * +struct value * eval_op_type (struct type *expect_type, struct expression *exp, enum noside noside, struct type *type) { |