old-cross-binutils/gdb/testsuite/gdb.cp
Sami Wagiaalla 4c3376c849 Test and support all cpp operator types.
2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>

	* value.h: Created oload_search_type enum.
	(find_overload_match): Use oload_search_type enum.
	* valops.c (find_overload_match): Support combined member and
	non-member search.
	* eval.c (evaluate_subexp_standard): Calls to
	find_overload_match now use oload_search_type enum.
	(oload_method_static): Verify index is a proper value.
	* valarith.c (value_user_defined_cpp_op): Search for and handle
	both member and non-member operators.
	(value_user_defined_cpp_op): New function.
	(value_user_defined_op): New function.
	(value_x_unop): Use value_user_defined_op.
	(value_x_binop): Ditto.
	* cp-support.c (make_symbol_overload_list_using): Added block
	iteration.
	Add check for namespace aliases and imported declarations.

2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>

	* gdb.cp/koenig.exp: Test for ADL operators.
	* gdb.cp/koenig.cc: Added ADL operators.
	* gdb.cp/operator.exp: New test.
	* gdb.cp/operator.cc: New test.
2010-06-07 16:11:35 +00:00
..
abstract-origin.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
abstract-origin.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ambiguous.cc
ambiguous.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
annota2.cc
annota2.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
annota3.cc
annota3.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
anon-union.cc
anon-union.exp gdb/testsuite/ 2010-06-02 22:24:15 +00:00
arg-reference.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arg-reference.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
bool.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bool.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
breakpoint.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
breakpoint.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
bs15503.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bs15503.exp gdb/testsuite/ 2010-03-12 19:17:01 +00:00
call-c-1.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
casts.cc gdb 2010-01-18 20:54:35 +00:00
casts.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
class2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
class2.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
classes.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
classes.exp 2010-06-03 Michael Snyder <msnyder@vmware.com> 2010-06-03 23:54:18 +00:00
cp-relocate.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cp-relocate.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cpcompletion.exp gdb/testsuite/ 2010-02-16 20:23:43 +00:00
cpexprs.cc * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cpexprs.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
cplusfuncs.cc * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cplusfuncs.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
ctti.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd3.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
demangle.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
derivation.cc
derivation.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
exception.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
exception.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
expand-sals.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
expand-sals.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
extern-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
extern-c.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
formatted-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
formatted-ref.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
gdb1355.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
gdb1355.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb2384-base.cc 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-12 21:13:15 +00:00
gdb2384-base.h 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-12 21:13:15 +00:00
gdb2384.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb2495.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2495.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
hang.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
hang.H
hang1.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang2.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang3.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
inherit.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
koenig.cc Test and support all cpp operator types. 2010-06-07 16:11:35 +00:00
koenig.exp Test and support all cpp operator types. 2010-06-07 16:11:35 +00:00
local.cc
local.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
m-data.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
m-data.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
m-static.cc gdb 2010-03-13 00:27:12 +00:00
m-static.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
m-static.h
m-static1.cc
maint.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
Makefile.in PR 9167 2010-04-21 17:33:54 +00:00
mb-ctor.cc * gdb.cp/mb-ctor.exp: Add multi-line source statement test. 2009-04-29 22:45:11 +00:00
mb-ctor.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
mb-inline.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
mb-inline.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-templates.cc * gdb.cp/mb-ctor.exp: Add multi-line source statement test. 2009-04-29 22:45:11 +00:00
mb-templates.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
member-ptr.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
member-ptr.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
method.cc
method.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
method2.cc
method2.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
misc.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
misc.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
namespace-nested-import.cc 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com> 2009-06-29 15:18:07 +00:00
namespace-nested-import.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
namespace.cc gdb 2010-01-19 18:11:19 +00:00
namespace.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
namespace1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
nsdecl.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsdecl.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsimport.cc 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
nsimport.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsrecurs.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsrecurs.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsstress.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsstress.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsusing.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsusing.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
operator.cc Test and support all cpp operator types. 2010-06-07 16:11:35 +00:00
operator.exp Test and support all cpp operator types. 2010-06-07 16:11:35 +00:00
overload.cc gdb/ 2010-02-16 20:51:51 +00:00
overload.exp 2010-06-03 Michael Snyder <msnyder@vmware.com> 2010-06-03 23:54:18 +00:00
ovldbreak.cc
ovldbreak.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
pass-by-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pass-by-ref.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
pr-1023.cc
pr-1023.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
pr-1210.cc
pr-1210.exp 2010-06-04 Michael Snyder <msnyder@vmware.com> 2010-06-04 21:45:04 +00:00
pr9067.cc PR gdb/9067 2010-02-08 18:04:17 +00:00
pr9067.exp PR gdb/9067 2010-02-08 18:04:17 +00:00
pr9167.cc PR 9167 2010-04-21 17:33:54 +00:00
pr9167.exp PR 9167 2010-04-21 17:33:54 +00:00
pr9594.cc
pr9631.cc
pr9631.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr10687.cc PR 10867 2010-04-20 20:22:12 +00:00
pr10687.exp PR 10867 2010-04-20 20:22:12 +00:00
pr10728-x.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-x.h PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-y.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728.exp PR gdb/10728 2010-02-08 18:27:53 +00:00
printmethod.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
printmethod.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
psmang.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
psmang1.cc
psmang2.cc
punctuator.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
re-set-overloaded.cc gdb/testsuite/ 2010-06-02 17:35:16 +00:00
re-set-overloaded.exp gdb/testsuite/ 2010-06-02 17:35:16 +00:00
ref-params.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-params.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
ref-types.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-types.exp gdb/testsuite/ 2010-06-02 22:20:12 +00:00
rtti.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
rtti.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
shadow.cc 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-15 17:29:36 +00:00
shadow.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
templates.cc * gdb.base/find.c (main): Reference search buffers. 2009-12-28 21:45:24 +00:00
templates.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
try_catch.cc
try_catch.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
userdef.cc gdb 2010-03-15 17:26:47 +00:00
userdef.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
virtbase.cc gdb 2010-02-02 23:40:28 +00:00
virtbase.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
virtfunc.cc
virtfunc.exp 2010-06-03 Michael Snyder <msnyder@vmware.com> 2010-06-03 23:54:18 +00:00
virtfunc2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
virtfunc2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00