mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user