aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-13 00:54:04 +0000
committerYao Qi <yao@codesourcery.com>2012-08-13 00:54:04 +0000
commit5cad973621efdc630546390dc0b34eb4d31906ae (patch)
treec961eec5dcad8362ec743fb2e088a91aac4c52cb /gdb/eval.c
parentf8cb18510f1f27373d030fff5f736efd3c3a60ad (diff)
downloadgdb-5cad973621efdc630546390dc0b34eb4d31906ae.zip
gdb-5cad973621efdc630546390dc0b34eb4d31906ae.tar.gz
gdb-5cad973621efdc630546390dc0b34eb4d31906ae.tar.bz2
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/eval.c')
-rw-r--r--gdb/eval.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 4295845..9bf5401 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -970,16 +970,6 @@ evaluate_subexp_standard (struct type *expect_type,
}
return value_nsstring (exp->gdbarch, &exp->elts[pc + 2].string, tem + 1);
- case OP_BITSTRING:
- tem = longest_to_int (exp->elts[pc + 1].longconst);
- (*pos)
- += 3 + BYTES_TO_EXP_ELEM ((tem + HOST_CHAR_BIT - 1) / HOST_CHAR_BIT);
- if (noside == EVAL_SKIP)
- goto nosideret;
- return value_bitstring (&exp->elts[pc + 2].string, tem,
- builtin_type (exp->gdbarch)->builtin_int);
- break;
-
case OP_ARRAY:
(*pos) += 3;
tem2 = longest_to_int (exp->elts[pc + 1].longconst);