aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v3-abi.c
AgeCommit message (Collapse)AuthorFilesLines
2002-10-02 Fix PR gdb/778Daniel Jacobowitz1-0/+3
* gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef before recursing. * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value of fill_in_vptr_fieldno.
2002-07-302002-07-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+1
* symtab.h: Replace #include "gdb_obstack.h" with opaque declaration. * cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h". * gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto. * avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto. * arch-utils.c, cli/cli-setshow.c: Unconditionally include "gdb_string.h". * Makefile.in (cli-script.o, cli-cmds.o): Update dependencies. (gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto. (cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto. (avr-tdep.o, mon960-rom.o): Ditto. (aout_stabs_gnu_h): Define. (symtab_h): Remove $(gdb_obstack_h).
2002-07-11Fix some K&R isms.Andrew Cagney1-1/+1
2002-07-052002-07-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-15/+18
Fix PR gdb/595, gdb/602 * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables. Don't call value_cast, just read the vtable pointer; update comments to match.
2002-05-12* gdbarch.sh (gdbarch_data): Add gdbarch parameter.Andrew Cagney1-5/+10
* gdbarch.h, gdbarch.c: Regenerate. * gnu-v3-abi.c: Update copyright. (vtable_address_point_offset): Update. (gnuv3_rtti_type): Update. (gnuv3_baseclass_offset): Update. * solib-svr4.c (svr4_fetch_link_map_offsets): Update. (init_fetch_link_map_offsets): Update. * remote.c (get_remote_state): Update.
2002-05-03 * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warnJason Merrill1-5/+16
and return NULL.
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).