aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:21 -0700
commit5b5f5140e1c37f899bf426ea7031548f4bd7e4ca (patch)
tree4634b027f3aad5319468821c788d38dc040f345f /gdb/eval.c
parent876469ffa1f52b15dfbc8336b31b908edf95fba6 (diff)
downloadfsf-binutils-gdb-5b5f5140e1c37f899bf426ea7031548f4bd7e4ca.zip
fsf-binutils-gdb-5b5f5140e1c37f899bf426ea7031548f4bd7e4ca.tar.gz
fsf-binutils-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 1995d39..f5a5a20 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -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)
{