summaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-13 01:02:07 +0000
committerYao Qi <yao@codesourcery.com>2012-08-13 01:02:07 +0000
commit7507c54a534f620a576c5101ff5a41045409db56 (patch)
tree70c34595f3db3b65b6ec0af01bf08d54ea69a96c /gdb/expprint.c
parent5cad973621efdc630546390dc0b34eb4d31906ae (diff)
downloadbinutils-gdb-7507c54a534f620a576c5101ff5a41045409db56.tar.gz
gdb/
* std-operator.def: Remove TERNOP_SLICE_COUNT. * breakpoint.c (watchpoint_exp_is_const): Remove handling to TERNOP_SLICE_COUNT. * eval.c (evaluate_subexp_standard): Likewise. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index c74c5641325..baaa08ad14a 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -360,7 +360,6 @@ print_subexp_standard (struct expression *exp, int *pos,
return;
case TERNOP_SLICE:
- case TERNOP_SLICE_COUNT:
print_subexp (exp, pos, stream, PREC_SUFFIX);
fputs_filtered ("(", stream);
print_subexp (exp, pos, stream, PREC_ABOVE_COMMA);
@@ -787,7 +786,6 @@ dump_subexp_body_standard (struct expression *exp,
{
case TERNOP_COND:
case TERNOP_SLICE:
- case TERNOP_SLICE_COUNT:
elt = dump_subexp (exp, stream, elt);
/* FALL THROUGH */
case BINOP_ADD: