aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/Makefile.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-07-13 04:31:42 +0000
committerDaniel Jacobowitz <drow@false.org>2006-07-13 04:31:42 +0000
commitfb933624929d0716f25db8d1096557e7f5e72440 (patch)
treee216dad7d0d61e68304e7ab329fe58c5c850799b /gdb/testsuite/gdb.cp/Makefile.in
parentd49c44d5f19771810279034d93060d13c13f0937 (diff)
downloadgdb-fb933624929d0716f25db8d1096557e7f5e72440.zip
gdb-fb933624929d0716f25db8d1096557e7f5e72440.tar.gz
gdb-fb933624929d0716f25db8d1096557e7f5e72440.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.cp/Makefile.in')
-rw-r--r--gdb/testsuite/gdb.cp/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/Makefile.in b/gdb/testsuite/gdb.cp/Makefile.in
index 8f4a90e..0684650 100644
--- a/gdb/testsuite/gdb.cp/Makefile.in
+++ b/gdb/testsuite/gdb.cp/Makefile.in
@@ -3,7 +3,8 @@ srcdir = @srcdir@
EXECUTABLES = ambiguous annota2 anon-union cplusfuncs cttiadd \
derivation inherit local member-ptr method misc \
- overload ovldbreak ref-typ ref-typ2 templates userdef virtfunc namespace ref-types
+ overload ovldbreak ref-typ ref-typ2 templates userdef virtfunc namespace \
+ ref-types ref-params
all info install-info dvi install uninstall installcheck check:
@echo "Nothing to be done for $@..."