old-cross-binutils/gdb/testsuite
Keith Seitz a451cb65e3 PR c++/13356
* gdbtypes.c (strict_type_checking): New variable.
	(show_strict_type_checking): New function.
	(rank_one_type): Return NS_POINTER_INTEGER_CONVERSION_BADNESS
	if strict type checking is disabled.
	(_initialize_gdbtypes): Add "check type" subcommand.
	* gdbtypes.h (NS_INTEGER_POINTER_CONVERSION_BADNESS): New struct.

	PR c++/13356
	* gdb.base/default.exp: Update all "check type" tests.
	* gdb.base/help.exp: Likewise.
	* gdb.base/setshow.exp: Likewise.
	* gdb.cp/converts.cc (foo1_type_check): New function.
	(foo2_type_check): New function.
	(foo3_type_check): New function.
	(main): Call new functions.
	* converts.exp: Add tests for integer-to-pointer conversions
	with/without strict type-checking.

	PR c++/13356
	* gdb.texinfo (Type and Range Checking): Remove warning.
	Remove spurious commas.
	Update text and examples for re-implementation of set/show
	check type.
	(C and C++ Type and Range Checks): Likewise.

	* language.h (type_mode): Remove.
	(type_check): Remove.
	(struct language_defn): Remove la_type_check.
	(STRICT_TYPE): Remove unused macro.
	(type_error): Remove.
	* language.c (set_type_range_case): Renamed to ...
	(set_range_case): ... this.  Update all callers.
	Remove type_mode/type_check.
	(type_mode): Remove.
	(type_check): Remove.
	(show_type_command): Remove.
	(set_type_command): Remove.
	(language_info): Remove type checking output.
	(type_error): Remove unused function.
	(range_error): Update comment.
	(unknown_language_defn): Remove la_type_check.
	(auto_language_defn): Likewise.
	(local_language_defn): Likewise.
	(_initialize_language): Remove "check type" subcommand.
	* ada-lang.c (ada_language_defn): Remove la_type_check.
	* c-lang.c (c_language_defn): Likewise.
	(cplus_language_defn): Likewise.
	(asm_language_defn): Likewise.
	(minimal_language_defn): Likewise.
	* d-lang.c (d_language_defn): Likewise.
	* f-lang.c (f_language_defn): Likewise.
	* go-lang.c (go_language_defn): Likewise.
	* jv-lang.c (java_language_defn): Likewise.
	* m2-lang.c (m2_language_defn): Likewise.
	* objc-lang.c (objc_language_defn): Likewise.
	* opencl-lang.c (opencl_language_defn): Likewise.
	* p-lang.c (pascal_language_defn): Likewise.
2012-08-17 17:37:03 +00:00
..
boards gdb/testsuite: 2012-08-02 08:46:32 +00:00
config 2012-07-19 Pedro Alves <palves@redhat.com> 2012-07-19 20:00:59 +00:00
gdb.ada DWARF frame unwinder executes one too many rows 2012-08-16 15:45:46 +00:00
gdb.arch
gdb.asm
gdb.base PR c++/13356 2012-08-17 17:37:03 +00:00
gdb.cell
gdb.cp PR c++/13356 2012-08-17 17:37:03 +00:00
gdb.disasm
gdb.dwarf2 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives. 2012-08-02 15:57:49 +00:00
gdb.fortran
gdb.gdb
gdb.go
gdb.hp
gdb.java
gdb.linespec * linespec.c (linespec_lex_number): A number followed 2012-07-30 17:45:37 +00:00
gdb.mi gdb/ 2012-08-09 12:53:46 +00:00
gdb.modula2
gdb.multi
gdb.objc * Makefile.in (SFILES): Remove objc-exp.y. 2012-07-26 20:11:10 +00:00
gdb.opencl
gdb.opt
gdb.pascal
gdb.python Add $_memeq, $_regex, $_streq, $_strlen convenience functions. 2012-08-10 20:26:00 +00:00
gdb.reverse 2012-07-19 Pedro Alves <palves@redhat.com> 2012-07-19 20:00:59 +00:00
gdb.server * gdb.base/annota1.exp: Accept no frames-invalid notification 2012-08-02 15:59:59 +00:00
gdb.stabs
gdb.threads * gdb.base/annota1.exp: Accept no frames-invalid notification 2012-08-02 15:59:59 +00:00
gdb.trace gdb/gdbserver/ 2012-07-27 08:09:14 +00:00
gdb.xml
lib * lib/ada.exp (standard_ada_testfile): New proc. 2012-07-26 18:43:02 +00:00
aclocal.m4
ChangeLog PR c++/13356 2012-08-17 17:37:03 +00:00
configure
configure.ac
dg-extract-results.sh
Makefile.in
TODO