summaryrefslogtreecommitdiff
path: root/gdb/parse.c
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/parse.c
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/parse.c')
-rw-r--r--gdb/parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 3ec1e25ee85..afe1c18492c 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -951,7 +951,6 @@ operator_length_standard (const struct expression *expr, int endpos,
oplen++;
break;
- case OP_LABELED:
case STRUCTOP_STRUCT:
case STRUCTOP_PTR:
args = 1;