summaryrefslogtreecommitdiff
path: root/gdb/std-operator.def
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-11-02 00:14:32 +0000
committerqiyao <qiyao>2012-11-02 00:14:32 +0000
commit83143a7ccdacdb672c3674f90e77aca3a7d9afcd (patch)
tree6dc15cfe3b44fdb96e4813f683621ecd2f13a79d /gdb/std-operator.def
parent92c56448eeafb52a5d9e5d3dd9b7e2c7ed72cade (diff)
downloadgdb-83143a7ccdacdb672c3674f90e77aca3a7d9afcd.tar.gz
gdb:
2012-11-02 Yao Qi <yao@codesourcery.com> * std-operator.def: Remove OP_LABELED. * eval.c: Remove the declaration of 'get_label'. (get_label): Remove. (evaluate_struct_tuple): Remove code handling OP_LABELED. Update comment. Remove local variable 'variantno' and related code. Replace 'substruct_type' with 'struct_type'. Replace 'subfieldno' with 'fieldno'. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise. gdb/testsuite: 2012-11-02 Yao Qi <yao@codesourcery.com> * gdb.base/setvar.exp: Test setting nested struct. * gdb.base/setvar.c (v_struct3): New.
Diffstat (limited to 'gdb/std-operator.def')
-rw-r--r--gdb/std-operator.def13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/std-operator.def b/gdb/std-operator.def
index dcba39f15f9..5df0081f696 100644
--- a/gdb/std-operator.def
+++ b/gdb/std-operator.def
@@ -286,19 +286,6 @@ OP (OP_OBJC_SELECTOR)
a string, which, of course, is variable length. */
OP (OP_SCOPE)
-/* Used to represent named structure field values in brace
- initializers (or tuples as they are called in (the deleted)
- Chill).
-
- The gcc C syntax is NAME:VALUE or .NAME=VALUE, the (the
- deleted) Chill syntax is .NAME:VALUE. Multiple labels (as in
- the (the deleted) Chill syntax .NAME1,.NAME2:VALUE) is
- represented as if it were .NAME1:(.NAME2:VALUE) (though that is
- not valid (the deleted) Chill syntax).
-
- The NAME is represented as for STRUCTOP_STRUCT; VALUE follows. */
-OP (OP_LABELED)
-
/* OP_TYPE is for parsing types, and used with the "ptype" command
so we can look up types that are qualified by scope, either with
the GDB "::" operator, or the Modula-2 '.' operator. */