diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-02 00:14:39 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-02 00:14:39 +0000 |
commit | f0559fff600165f5cbdf546737217e1da3f737b8 (patch) | |
tree | 1489559436bf24a052db270aba603d65763d5bcc /gdb/parse.c | |
parent | *** empty log message *** (diff) | |
download | binutils-gdb-f0559fff600165f5cbdf546737217e1da3f737b8.tar.gz binutils-gdb-f0559fff600165f5cbdf546737217e1da3f737b8.tar.bz2 binutils-gdb-f0559fff600165f5cbdf546737217e1da3f737b8.zip |
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.c | 1 |
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; |