PR 2384
authorDoug Evans <dje@google.com>
Sun, 3 Feb 2008 22:13:30 +0000 (22:13 +0000)
committerDoug Evans <dje@google.com>
Sun, 3 Feb 2008 22:13:30 +0000 (22:13 +0000)
commit81fe80802cc3746401e3393b6edc884151c83881
tree4ccb189b615a0da1f09ebd1e5a9cdf9cb2905da0
parentcda4ce5a1080f6a6e3143cae4534fe60214365d2
PR 2384
* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
Return basetype, fieldno if found.  All callers updated.
Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
objfile.
* gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
* symfile.h (fill_in_vptr_fieldno): Delete.

* gdb.cp/gdb2384.exp: New file.
* gdb.cp/gdb2384.cc: New file.
* gdb.cp/gdb2384-base.h: New file.
* gdb.cp/gdb2384-base.cc: New file.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-v2-abi.c
gdb/gnu-v3-abi.c
gdb/symfile.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/gdb2384-base.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/gdb2384-base.h [new file with mode: 0644]
gdb/testsuite/gdb.cp/gdb2384.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/gdb2384.exp [new file with mode: 0644]