fb93362492
* 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.
17 lines
514 B
Makefile
17 lines
514 B
Makefile
VPATH = @srcdir@
|
|
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 ref-params
|
|
|
|
all info install-info dvi install uninstall installcheck check:
|
|
@echo "Nothing to be done for $@..."
|
|
|
|
clean mostlyclean:
|
|
-rm -f *~ *.o *.ci
|
|
-rm -f core ${EXECUTABLES}
|
|
|
|
distclean maintainer-clean realclean: clean
|
|
-rm -f Makefile config.status config.log
|