diff options
author | Yao Qi <yao@codesourcery.com> | 2014-04-15 11:10:56 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-07-21 03:46:33 +0800 |
commit | 9c81664074faf6028036d9b3615ab860396b0c81 (patch) | |
tree | fd571939669a4151a5d6e78e700ef761f83585e1 /gdb/eval.c | |
parent | 018dc9bedf40d528f1d05d56555e20ed54a77dc3 (diff) | |
download | binutils-gdb-9c81664074faf6028036d9b3615ab860396b0c81.tar.gz |
Remove operator BINOP_IN
Chill language support was removed several years ago, and BINOP_IN
isn't used for Pascal. This patch is to remove BINOP_IN.
gdb:
2014-07-20 Yao Qi <yao@codesourcery.com>
* std-operator.def: Remove BINOP_IN.
* breakpoint.c (watchpoint_exp_is_const): Update.
* eval.c (evaluate_subexp_standard): Likewise.
* expprint.c (dump_subexp_body_standard): Likewise.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/eval.c b/gdb/eval.c index d374b6a4c50..949b2f830de 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -2164,15 +2164,6 @@ evaluate_subexp_standard (struct type *expect_type, else return value_subscript (arg1, value_as_long (arg2)); } - - case BINOP_IN: - arg1 = evaluate_subexp_with_coercion (exp, pos, noside); - arg2 = evaluate_subexp_with_coercion (exp, pos, noside); - if (noside == EVAL_SKIP) - goto nosideret; - type = language_bool_type (exp->language_defn, exp->gdbarch); - return value_from_longest (type, (LONGEST) value_in (arg1, arg2)); - case MULTI_SUBSCRIPT: (*pos) += 2; nargs = longest_to_int (exp->elts[pc + 1].longconst); |