summaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-08-13 00:54:03 +0000
committerqiyao <qiyao>2012-08-13 00:54:03 +0000
commit492a50b4c9f9d51d29e0035417e29e7d4f5cc1cc (patch)
tree0b70e0999bdcc67ca13695dd6c43b5b99a61a5b7 /gdb/parse.c
parent4e691aa3ce0784b9c7f566bbc4c7f960e836bc76 (diff)
downloadgdb-492a50b4c9f9d51d29e0035417e29e7d4f5cc1cc.tar.gz
gdb/
* std-operator.def: Remove OP_BITSTRING. * breakpoint.c (watchpoint_exp_is_const): Update. * eval.c (evaluate_subexp_standard): Remove handling to OP_BITSTRING. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise. * valops.c (value_bitstring): Remove. * value.h: Remove the declaration of 'value_bitstring'.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index d1ed4e88c84..d418aef16ff 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -967,12 +967,6 @@ operator_length_standard (const struct expression *expr, int endpos,
oplen = 4 + BYTES_TO_EXP_ELEM (oplen + 1);
break;
- case OP_BITSTRING:
- oplen = longest_to_int (expr->elts[endpos - 2].longconst);
- oplen = (oplen + HOST_CHAR_BIT - 1) / HOST_CHAR_BIT;
- oplen = 4 + BYTES_TO_EXP_ELEM (oplen);
- break;
-
case OP_ARRAY:
oplen = 4;
args = longest_to_int (expr->elts[endpos - 2].longconst);