summaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-04-15 11:28:15 +0800
committerYao Qi <yao@codesourcery.com>2014-07-21 03:46:37 +0800
commitae8fddda32d161ea0d8606fdd71349230d5b0ad6 (patch)
tree40bd274988386df0867d8fae0a126993c05d051a /gdb/expprint.c
parent9c81664074faf6028036d9b3615ab860396b0c81 (diff)
Remove operator BINOP_RANGE
BINOP_RANGE was added by the following commit for chill language. commit badefd2800f5ee2dc6a0eef870771af9dc29bba7 Author: Per Bothner <per@bothner.com> Date: Wed Nov 29 22:59:31 1995 +0000 * expression.h (enum exp_opcode): Add BINOP_RANGE. * expprint.c (dump_expression): Support BINOP_RANGE. * eval.c (evaluate_subexp_standard): Handle BINOP_RANGE (as error). (case MULTI_SUBSCRIPT): Fix broken f77 value->int ad hoc conversion. * ch-lang.c (chill_op_print_tab): Support BINOP_RANGE. (evaluate_subexp_chill): Error on BINOP_COMMA. Chill language is no longer supported, so we can remove BINOP_RANGE too. This patch is to remove BINOP_RANGE. gdb: 2014-07-20 Yao Qi <yao@codesourcery.com> * std-operator.def: Remove BINOP_RANGE. * breakpoint.c (watchpoint_exp_is_const): Update. * expprint.c (dump_subexp_body_standard): Likewise. * eval.c (init_array_element): Remove dead code. (evaluate_subexp_standard): Likewise.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 505bd485fa..7f58e4e37f 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -802,7 +802,6 @@ dump_subexp_body_standard (struct expression *exp,
case BINOP_ASSIGN_MODIFY:
case BINOP_VAL:
case BINOP_CONCAT:
- case BINOP_RANGE:
case BINOP_END:
case STRUCTOP_MEMBER:
case STRUCTOP_MPTR: