old-cross-binutils/gdb/testsuite/gdb.cp
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
..
abstract-origin.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
abstract-origin.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ambiguous.cc
ambiguous.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
annota2.cc
annota2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
annota3.cc
annota3.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
anon-union.cc
anon-union.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arg-reference.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arg-reference.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bool.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bool.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
breakpoint.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
breakpoint.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bs15503.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bs15503.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c-1.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
casts.cc gdb 2010-01-18 20:54:35 +00:00
casts.exp gdb 2010-01-18 20:54:35 +00:00
class2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
class2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
classes.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
classes.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cp-relocate.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cp-relocate.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cpcompletion.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cplusfuncs.cc
cplusfuncs.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ctti.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd3.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
demangle.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
derivation.cc
derivation.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
exception.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
exception.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
expand-sals.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
expand-sals.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
extern-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
extern-c.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
formatted-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
formatted-ref.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb1355.cc
gdb1355.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384-base.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384-base.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2495.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2495.exp * gdb.cp/gdb2495.exp: Skip if gdb,nosignals. 2010-01-08 17:48:04 +00:00
hang.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
hang.H
hang1.cc
hang2.cc
hang3.cc
inherit.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
local.cc
local.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
m-data.cc
m-data.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
m-static.cc * gdb.base/find.c (main): Reference search buffers. 2009-12-28 21:45:24 +00:00
m-static.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
m-static.h
m-static1.cc
maint.exp
Makefile.in Fix for PR 9399 gdb can't call or print a const function that uses virtual inheritance 2009-12-10 20:57:10 +00:00
mb-ctor.cc
mb-ctor.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-templates.cc
mb-templates.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
member-ptr.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
member-ptr.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
method.cc
method.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
method2.cc
method2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
misc.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
misc.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
namespace-nested-import.cc
namespace-nested-import.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
namespace.cc gdb 2010-01-19 18:11:19 +00:00
namespace.exp gdb 2010-01-19 18:11:19 +00:00
namespace1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
nsdecl.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsdecl.exp 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsimport.cc 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
nsimport.exp 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
nsrecurs.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsrecurs.exp 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsstress.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsstress.exp 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsusing.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsusing.exp 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
overload.cc * gdb.base/find.c (main): Reference search buffers. 2009-12-28 21:45:24 +00:00
overload.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ovldbreak.cc
ovldbreak.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pass-by-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pass-by-ref.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-1023.cc
pr-1023.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-1210.cc
pr-1210.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr9594.cc
pr9631.cc
pr9631.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
printmethod.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
printmethod.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
psmang.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
psmang1.cc
psmang2.cc
punctuator.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-params.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-params.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-types.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-types.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
shadow.cc 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
shadow.exp 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
templates.cc * gdb.base/find.c (main): Reference search buffers. 2009-12-28 21:45:24 +00:00
templates.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
try_catch.cc
try_catch.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
userdef.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
userdef.exp gdb 2010-02-02 16:45:17 +00:00
virtbase.cc gdb 2010-02-02 16:45:17 +00:00
virtbase.exp gdb 2010-02-02 16:45:17 +00:00
virtfunc.cc
virtfunc.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
virtfunc2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
virtfunc2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00