* values.c (value_primitive_field): Add embedded_offset to the
authorDaniel Jacobowitz <drow@false.org>
Fri, 30 Nov 2001 17:47:51 +0000 (17:47 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 30 Nov 2001 17:47:51 +0000 (17:47 +0000)
commit21cfb3b661790e5e3153db2158f16c3991074553
treee44271a3895e7bdced5d391621a51cf303155392
parent215007a64883740af82c24537ecf5641163159f2
    * values.c (value_primitive_field): Add embedded_offset to the
        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.
gdb/ChangeLog
gdb/gnu-v3-abi.c
gdb/values.c