summaryrefslogtreecommitdiff
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:15 -0700
commitb5cc3923def975c28d44421a11bac671ede5b92c (patch)
tree3a747279438190fc11517dc09d390ea85e2278d8 /gdb/eval.c
parent0c8effa32e9326ca80f3e7cd74635e1dc44b3db5 (diff)
downloadbinutils-gdb-b5cc3923def975c28d44421a11bac671ede5b92c.tar.gz
Introduce var_entry_value_operation
This adds class var_entry_value_operation, which implements OP_VAR_ENTRY_VALUE. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * expop.h (class var_entry_value_operation): New. * eval.c (eval_op_var_entry_value): 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 85e67f3fb93..7645291a801 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -1201,7 +1201,7 @@ eval_op_scope (struct type *expect_type, struct expression *exp,
/* Helper function that implements the body of OP_VAR_ENTRY_VALUE. */
-static struct value *
+struct value *
eval_op_var_entry_value (struct type *expect_type, struct expression *exp,
enum noside noside, symbol *sym)
{