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:17 -0700 |
commit | 1594e0bb3d35b05aa53519f08021fb15bf26f1dc (patch) | |
tree | 7af417ce67f65839738a47860b3daba576426f41 /gdb/eval.c | |
parent | b50db09ff9c0a5d2220e73ddcff3a05e2e887b0e (diff) | |
download | gdb-1594e0bb3d35b05aa53519f08021fb15bf26f1dc.zip gdb-1594e0bb3d35b05aa53519f08021fb15bf26f1dc.tar.gz gdb-1594e0bb3d35b05aa53519f08021fb15bf26f1dc.tar.bz2 |
Introduce ternop_slice_operation
This adds class ternop_slice_operation, which implements TERNOP_SLICE.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expop.h (class ternop_slice_operation): New.
* eval.c (eval_op_ternop): No longer static.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1327,7 +1327,7 @@ eval_op_concat (struct type *expect_type, struct expression *exp, /* A helper function for TERNOP_SLICE. */ -static struct value * +struct value * eval_op_ternop (struct type *expect_type, struct expression *exp, enum noside noside, struct value *array, struct value *low, struct value *upper) |