aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v3-abi.c
AgeCommit message (Collapse)AuthorFilesLines
2002-02-022002-02-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+7
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. Update ``this'' pointer when calling virtual functions.
2002-01-20 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_namePer Bothner1-1/+2
isn't NULL, which can happen with some gcj-3.x-produced code.
2002-01-042002-01-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+61
* cp-abi.c: Fix whitespace. (baseclass_offset): New wrapper function. * cp-abi.h (baseclass_offset): Add prototype. (struct cp_abi_ops): Add baseclass_offset pointer. * valops.c (vb_match): Move to... * gnu-v2-abi.c (vb_match): here. * valops.c (baseclass_offset): Move to... * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. * gnu-v3-abi.c (init_gnuv3_ops): Likewise. * hpacc-abi.c (init_hpacc_ops): Likewise.
2001-11-30 * values.c (value_primitive_field): Add embedded_offset to theDaniel Jacobowitz1-7/+18
address of structure members. * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before attempting to access vtable pointer. Set using_enc_p if we cast. (gnuv3_virtual_fn_field): Call value_cast with structure rather than structure pointer. Cast to base type before attempting to access vtable pointer.
2001-10-16* value.h (value_as_address): Rename value_as_pointer.Andrew Cagney1-2/+2
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c, jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c, values.c: Update.
2001-06-07s/abort/gdb_assert/Andrew Cagney1-2/+2
2001-06-01* gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): MakeJim Blandy1-2/+2
these static --- there's no reason other files should use these.
2001-05-22Add support for the GNU V3 C++ ABI.Jim Blandy1-0/+355
(Includes changes by Dan Berlin.) * gnu-v3-abi.c: New file. * minsyms.c: #include "value.h" and "cp-abi.h". (install_minimal_symbols): Check the minimal symbol table for symbols that look mangled in the V3 style, and select the V3 ABI if we find any. * Makefile.in (SFILES): Add gnu-v3-abi.c. (COMMON_OBS): Add gnu-v3-abi.o. (gnu-v3-abi.o): Add new rule. (minsyms.o): Depend on $(cp_abi_h) and $(value_h).