gdb:
authorYao Qi <yao@codesourcery.com>
Fri, 2 Nov 2012 00:14:39 +0000 (00:14 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 2 Nov 2012 00:14:39 +0000 (00:14 +0000)
commitf0559fff600165f5cbdf546737217e1da3f737b8
tree1489559436bf24a052db270aba603d65763d5bcc
parent9ad9e68c611405111d62bb68d2b24ebbfcc307bd
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.
gdb/ChangeLog
gdb/eval.c
gdb/expprint.c
gdb/parse.c
gdb/std-operator.def
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/setvar.c
gdb/testsuite/gdb.base/setvar.exp