* gdb.cp/classes.exp (do_tests): Add tests to print a constructor
authorKeith Seitz <keiths@redhat.com>
Mon, 21 Sep 2009 19:23:22 +0000 (19:23 +0000)
committerKeith Seitz <keiths@redhat.com>
Mon, 21 Sep 2009 19:23:22 +0000 (19:23 +0000)
commit3fe8f3b349c62a22a209e7eace236f9d2a2effcb
tree5e46642c6a7e0dfddbe073e6258d47f869496502
parentcbacf5fd946b7a3faf916c57e6775407f6fc01f2
* gdb.cp/classes.exp (do_tests): Add tests to print a constructor
and destructor using typedef name of class.
* gdb.cp/classes.cc (class Base1): Add a destructor.
(base1): New typedef.
(use_methods): Instanitate an object of type base1.
* gdb.cp/templates.exp (test_template_typedef): New procedure.
(do_tests): Call test_template_typedef.
* gdb.cp/templates.cc (Baz::~Baz): New method.
(intBazOne): New typedef.
(main): Instantiate intBazOne.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/classes.cc
gdb/testsuite/gdb.cp/classes.exp
gdb/testsuite/gdb.cp/templates.cc
gdb/testsuite/gdb.cp/templates.exp