old-cross-binutils/gdb/python
Tom Tromey edf3d5f3f8 gdb
PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
	* valops.c (search_struct_field): Compute nbases after calling
	CHECK_TYPEDEF.
	(check_field): Call CHECK_TYPEDEF.
	* cp-valprint.c (cp_print_value): Pass correct address to
	baseclass_offset.  Fix check for virtual base past the end of the
	object.  Don't offset address passed to cp_print_value_fields or
	apply_val_pretty_printer.
	(cp_print_value_fields): Fix call to val_print.
	(cp_print_value_fields_rtti): New function.
	* c-valprint.c (c_val_print): Use cp_print_value_fields_rtti.
	* p-valprint.c (pascal_object_print_value_fields): Fix call to
	val_print.
	* python/py-prettyprint.c (apply_val_pretty_printer): Add embedded
	offset to address.
	* language.h (struct language_defn) <la_val_print>: Document.
	* c-lang.h (cp_print_value_fields_rtti): Declare.
gdb/testsuite
	PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
	* gdb.cp/virtbase.cc: New file.
	* gdb.cp/virtbase.exp: New file.
	* gdb.cp/userdef.exp: Allow 'struct' or 'class'.
2010-02-02 16:45:17 +00:00
..
py-cmd.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-frame.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-function.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-lazy-string.c 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
py-objfile.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-prettyprint.c gdb 2010-02-02 16:45:17 +00:00
py-type.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-utils.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-value.c 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
python-internal.h 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
python.c Fix build failure when building without Python support. 2010-01-18 10:50:45 +00:00
python.h Allow "source" to load python scripts. 2010-01-18 06:25:22 +00:00