PR mi/10586
authorKeith Seitz <keiths@redhat.com>
Thu, 12 Jan 2012 22:50:49 +0000 (22:50 +0000)
committerKeith Seitz <keiths@redhat.com>
Thu, 12 Jan 2012 22:50:49 +0000 (22:50 +0000)
commit3848a17fe5074ad88310b9cd52dba70aba076c39
treebe0d5e08bd96ad8c1820b1e5613cd5ac4b0629a9
parent440e2fca6aa56d0e5a37ddad27dd2a13706a2e53
PR mi/10586
* gdb.mi/var-cmd.c (struct anonymous): New structure.
(do_anonymous_type_tests): New function.
(main): Call do_anonymous_type_tests.
* gdb.mi/mi2-var-child.exp: Add anonymous type tests.
(verify_everything): New procedure.
* gdb.mi/mi-var-cp.cc (class A): New class.
(anonymous_structs_and_unions): New function.
(main): Call anonymous_structs_and_unions.
* gdb.mi/mi-var-cp.exp: Add anonymous type tests.
(verify_everything): New procedure.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cp.cc
gdb/testsuite/gdb.mi/mi-var-cp.exp
gdb/testsuite/gdb.mi/mi2-var-child.exp
gdb/testsuite/gdb.mi/var-cmd.c