old-cross-binutils/gdb/testsuite/gdb.cp
Daniel Jacobowitz fb93362492 gdb/
* infcall.c (value_arg_coerce): Use value_cast_pointers for
	references.  Avoid value_cast to a reference type.  Don't silently
	convert pointers to references.
	* valops.c (value_cast_pointers): New, based on value_cast.
	(value_cast): Use it.  Reject reference types.
	(value_ref): New.
	(typecmp): Use it.
	* value.h (value_cast_pointers, value_ref): New prototypes.
gdb/testsuite/
	* gdb.cp/ref-params.exp: New test.
	* gdb.cp/ref-params.cc: New source file.
	* gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
2006-07-13 04:31:42 +00:00
..
ambiguous.cc
ambiguous.exp
annota2.cc
annota2.exp 2006-03-07 Paul Brook <paul@codesourcery.com> 2006-03-07 15:23:33 +00:00
annota3.cc
annota3.exp 2006-03-07 Paul Brook <paul@codesourcery.com> 2006-03-07 15:23:33 +00:00
anon-union.cc * gdb.base/break.c: Add 10a breakpoint at } 2006-06-13 08:46:17 +00:00
anon-union.exp * gdb.base/break.c: Add 10a breakpoint at } 2006-06-13 08:46:17 +00:00
bool.cc * gdb.cp/bool.cc, gdb.cp/bool.exp: New files. 2006-01-29 21:30:17 +00:00
bool.exp * gdb.cp/bool.cc, gdb.cp/bool.exp: New files. 2006-01-29 21:30:17 +00:00
breakpoint.cc
breakpoint.exp
bs15503.cc
bs15503.exp
casts.cc
casts.exp
class2.cc
class2.exp
classes.cc
classes.exp
cplusfuncs.cc
cplusfuncs.exp
ctti.exp
cttiadd.cc
cttiadd1.cc
cttiadd2.cc
cttiadd3.cc
demangle.exp
derivation.cc
derivation.exp
exception.cc
exception.exp
gdb1355.cc
gdb1355.exp
hang.exp
hang.H
hang1.C
hang2.C
hang3.C
inherit.exp gdb/ 2006-03-01 19:34:46 +00:00
local.cc
local.exp
m-data.cc
m-data.exp
m-static.cc * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member. 2006-05-05 18:04:09 +00:00
m-static.exp
m-static.h * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member. 2006-05-05 18:04:09 +00:00
m-static1.cc
maint.exp
Makefile.in gdb/ 2006-07-13 04:31:42 +00:00
member-ptr.cc
member-ptr.exp
method.cc
method.exp
misc.cc
misc.exp
namespace.cc
namespace.exp
namespace1.cc
overload.cc
overload.exp
ovldbreak.cc
ovldbreak.exp
pr-574.cc
pr-574.exp
pr-1023.cc
pr-1023.exp
pr-1210.cc
pr-1210.exp
printmethod.cc
printmethod.exp
psmang.exp
psmang1.cc
psmang2.cc
ref-params.cc gdb/ 2006-07-13 04:31:42 +00:00
ref-params.exp gdb/ 2006-07-13 04:31:42 +00:00
ref-types.cc
ref-types.exp
rtti.exp
rtti.h
rtti1.cc
rtti2.cc
templates.cc
templates.exp
try_catch.cc
try_catch.exp
userdef.cc
userdef.exp
virtfunc.cc
virtfunc.exp