This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.cp/classes.exp ...
- From: kseitz at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 21 Sep 2009 19:23:22 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.cp/classes.exp ...
CVSROOT: /cvs/src
Module name: src
Changes by: kseitz@sourceware.org 2009-09-21 19:23:22
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: classes.exp classes.cc templates.exp
templates.cc
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1963&r2=1.1964
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/classes.exp.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/classes.cc.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/templates.exp.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/templates.cc.diff?cvsroot=src&r1=1.2&r2=1.3