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:27 -0700 |
commit | 9db6b6ddbd3a384d3a80bfee3e3a5c5a40fd43d0 (patch) | |
tree | 7982ddac368014b043cca1c4d62a8827ab1063ee /gdb/rust-lang.c | |
parent | 6ce1ad679a7aa1f82e483451669d5d77bfc1b8fb (diff) | |
download | gdb-9db6b6ddbd3a384d3a80bfee3e3a5c5a40fd43d0.zip gdb-9db6b6ddbd3a384d3a80bfee3e3a5c5a40fd43d0.tar.gz gdb-9db6b6ddbd3a384d3a80bfee3e3a5c5a40fd43d0.tar.bz2 |
Introduce rust_range_operation
This adds class rust_range_operation, which implements OP_RANGE.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* rust-lang.c (rust_range): No longer static.
* rust-exp.h (class rust_range_operation): New.
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r-- | gdb/rust-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index 81b6702..46eb03e 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -1041,7 +1041,7 @@ rust_evaluate_funcall (struct expression *exp, int *pos, enum noside noside) /* A helper for rust_evaluate_subexp that handles OP_RANGE. */ -static struct value * +struct value * rust_range (struct type *expect_type, struct expression *exp, enum noside noside, enum range_flag kind, struct value *low, struct value *high) |