diff options
author | Yao Qi <yao@codesourcery.com> | 2014-04-15 11:39:26 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-07-21 03:46:43 +0800 |
commit | c9402c95796b6b734bdeecf69a57ca08140f677e (patch) | |
tree | caaeab18083605e2e88b3ec72c8a36fca8d460bb | |
parent | ae8fddda32d161ea0d8606fdd71349230d5b0ad6 (diff) | |
download | gdb-c9402c95796b6b734bdeecf69a57ca08140f677e.zip gdb-c9402c95796b6b734bdeecf69a57ca08140f677e.tar.gz gdb-c9402c95796b6b734bdeecf69a57ca08140f677e.tar.bz2 |
Update comments to TERNOP_SLICE
TERNOP_SLICE was added for language Chill, but it is used for Ada and D later.
Since language Chill was removed from GDB, TERNOP_SLICE is only used for
Ada and D. This patch is to update its comments.
gdb:
2014-07-20 Yao Qi <yao@codesourcery.com>
* std-operator.def: Update comments to TERNOP_SLICE.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/std-operator.def | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f258a0..e25e944 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-07-20 Yao Qi <yao@codesourcery.com> + * std-operator.def: Update comments to TERNOP_SLICE. + +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. diff --git a/gdb/std-operator.def b/gdb/std-operator.def index c33a287..24c3a2b 100644 --- a/gdb/std-operator.def +++ b/gdb/std-operator.def @@ -93,8 +93,8 @@ OP (BINOP_END) /* Operates on three values computed by following subexpressions. */ OP (TERNOP_COND) /* ?: */ -/* A sub-string/sub-array. (the deleted) Chill syntax: - OP1(OP2:OP3). Return elements OP2 through OP3 of OP1. */ +/* A sub-string/sub-array. Ada syntax: OP1(OP2..OP3). Return + elements OP2 through OP3 of OP1. */ OP (TERNOP_SLICE) /* Multidimensional subscript operator, such as Modula-2 x[a,b,...]. |