old-cross-binutils/gdb/testsuite
Pedro Alves 8af8e3bc81 gdb/
* exceptions.h (NOT_AVAILABLE_ERROR): New error.
	* value.c: Include "exceptions.h".
	(require_available): Throw NOT_AVAILABLE_ERROR instead of a
	generic error.
	* cp-abi.c: Include gdb_assert.h.
	(baseclass_offset): Add `embedded_offset' and `val' parameters.
	Assert the method is implemented.  Wrap NOT_AVAILABLE_ERROR
	errors.
	* cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
	parameters.  No longer returns -1 on error.
	(struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
	`val' parameters.
	* cp-valprint.c: Include exceptions.h.
	(cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
	the baseclass_offset.  Handle unavailable base classes.  Use
	val_print_invalid_address.
	* p-valprint.c: Include exceptions.h.
	(pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
	when fetching the baseclass_offset.  No longer expect
	baseclass_offset returning -1.  Handle unavailable base classes.
	Use val_print_invalid_address.
	* valops.c (dynamic_cast_check_1): Rename `contents' parameter to
	`valaddr' parameter, and change its type to gdb_byte pointer.  Add
	`embedded_offset' and `val' parameters.  Adjust.
	(dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
	parameter, and change its type to gdb_byte pointer.  Add
	`embedded_offset' and `val' parameters.  Adjust.  No longer expect
	baseclass_offset returning -1.
	(value_dynamic_cast): Use value_contents_for_printing rather than
	value_contents.  Adjust.
	(search_struct_field): No longer expect baseclass_offset returning
	-1.
	(search_struct_method): If reading memory from the target is
	necessary, wrap it in a new value to pass to baseclass_offset.  No
	longer expect baseclass_offset returning -1.
	(find_method_list): No longer expect baseclass_offset returning
	-1.  Use value_contents_for_printing rather than value_contents.
	* valprint.c (val_print_invalid_address): New function.
	* valprint.h (val_print_invalid_address): Declare.
	* gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
	and `val' parameters.  No longer expect baseclass_offset returning
	-1.  Adjust.
	* gnu-v2-abi.c: Include "exceptions.h".
	(gnuv2_baseclass_offset): Add `embedded_offset' and `val'
	parameters.  Handle unavailable memory.  Recurse through
	gnuv2_baseclass_offset directly, rather than through
	baseclass_offset.  No longer returns -1 on not found, instead
	throw an error.
	* gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
	`val' parameters.  Adjust.

	gdb/testsuite/
	* gdb.trace/unavailable.cc (class Base, class Middle, class
	Derived): New types.
	(derived_unavail, derived_partial, derived_whole): New globals.
	(virtual_partial): New global.
	(virtualp): Point at virtual_partial.
	* gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
	related to unavailable vptr.
2011-02-14 11:35:45 +00:00
..
config run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.ada new testcase for Ada Wide Wide Characters and Strings 2011-01-14 19:33:19 +00:00
gdb.arch ChangeLog: 2011-02-08 13:25:01 +00:00
gdb.asm 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
gdb.base * gdb.base/break-interp.exp: Remove ${objdir} from test messages. 2011-02-07 13:35:42 +00:00
gdb.cell run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.cp gdb/ 2011-02-13 09:15:54 +00:00
gdb.disasm run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.dwarf2 Centralize printing "<optimized out>". 2011-01-25 16:26:23 +00:00
gdb.fortran gdb/ 2011-01-12 16:16:24 +00:00
gdb.gdb run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.hp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.java run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.mi 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
gdb.modula2 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.multi run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.objc run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.opencl include/ChangeLog: 2011-02-08 13:30:10 +00:00
gdb.opt Centralize printing "<optimized out>". 2011-01-25 16:26:23 +00:00
gdb.pascal run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.python Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
gdb.reverse run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.server run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.stabs run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gdb.threads Centralize printing "<optimized out>". 2011-01-25 16:26:23 +00:00
gdb.trace gdb/ 2011-02-14 11:35:45 +00:00
gdb.xml 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
lib gdb/testsuite/ChangeLog 2011-01-21 14:05:51 +00:00
.gdbinit
aclocal.m4
ChangeLog gdb/ 2011-02-14 11:35:45 +00:00
configure gdb/testsuite/ 2011-01-07 02:51:09 +00:00
configure.ac Update the copyright year for most remaining files in GDB 2011-01-05 05:09:55 +00:00
dg-extract-results.sh
Makefile.in run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
TODO