binutils-gdb/gdb/testsuite/gdb.c++
Michael Chastain 99f78f560a 2001-02-11 Michael Chastain <chastain@redhat.com>
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
	Helps the test script figure out which demangler is in use.
	(dm_type_foo_ref): Ditto.
	(dm_type_int_star): Ditto.
	(dm_type_long_star): Ditto.
	(dm_type_unsigned_int): Ditto.
	(dm_type_void): Ditto.
	(dm_type_void_star): Ditto.
	* gdb.base/cplusfuncs.exp (probe_demangler): New function.
	Probe the gdb demangler and set variables to accommodate
	formatting differences.
	(info_func_regexp): New function.  Same as info_func, but
	matches against a regexp.
	(info_func): Match against a literal string.
	(print_addr_2): New function.  Match against a literal string,
	which can be different from the input to gdb.
	(print_addr): Simply call print_addr_2 with the same argument twice.
	(test_lookup_operator_functions): Use demangler formatting variables.
	Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
	the tests in the same order as the C++ class declaration.
	(test_paddr_operator_functions): Ditto.
	(test_paddr_overloaded_functions): Ditto.
	(test_paddr_hairy_functions): Use demangler formatting variables.
	Add reference to gdb/19 for related tests.
	(do_tests): Call probe_demangler.
2001-02-14 19:54:04 +00:00
..
ambiguous.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
ambiguous.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
annota2.cc import gdb-1999-07-07 pre reformat 1999-07-08 00:26:39 +00:00
annota2.exp import gdb-2000-01-05 snapshot 2000-01-06 03:07:20 +00:00
anon-union.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
anon-union.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
classes.exp * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to 2000-08-02 22:10:10 +00:00
configure
configure.in
cplusfuncs.cc 2001-02-11 Michael Chastain <chastain@redhat.com> 2001-02-14 19:54:04 +00:00
cplusfuncs.exp 2001-02-11 Michael Chastain <chastain@redhat.com> 2001-02-14 19:54:04 +00:00
ctti.exp Revert an accidental commit 2000-06-06 00:38:10 +00:00
cttiadd.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
cttiadd1.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
cttiadd2.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
cttiadd3.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
demangle.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
derivation.cc
derivation.exp 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com> 2000-12-05 23:57:36 +00:00
inherit.exp import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
local.cc
local.exp 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com> 2000-12-05 23:57:36 +00:00
Makefile.in Forgot a file 2000-06-12 01:31:41 +00:00
member-ptr.cc
member-ptr.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
method.cc
method.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
misc.cc * gdb.c++/misc.cc (class ClassParam, class_param): Define. 2000-07-09 05:16:11 +00:00
misc.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
namespace.cc Forgot a file 2000-06-12 01:31:41 +00:00
namespace.exp 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com> 2000-12-05 23:57:36 +00:00
overload.cc import gdb-1999-09-21 1999-09-22 03:28:34 +00:00
overload.exp 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com> 2000-12-05 23:57:36 +00:00
ovldbreak.cc
ovldbreak.exp 2001-01-28 Michael Chastain <chastain@redhat.com> 2001-01-28 23:49:43 +00:00
ref-types.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
ref-types.exp 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com> 2000-12-05 23:57:36 +00:00
templates.cc Replace blanked lines from earlier commit with comment stating that 2001-01-30 22:18:21 +00:00
templates.exp 2000-11-09 Fernando Nasser <fnasser@redhat.com> 2000-11-09 23:29:20 +00:00
userdef.cc
userdef.exp import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
virtfunc.cc import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
virtfunc.exp import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00