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:17 -0700
commit1594e0bb3d35b05aa53519f08021fb15bf26f1dc (patch)
tree7af417ce67f65839738a47860b3daba576426f41 /gdb/eval.c
parentb50db09ff9c0a5d2220e73ddcff3a05e2e887b0e (diff)
downloadgdb-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index e68a93d..c667925 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -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)