This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crasher in C++ ABI code


Attention, all you c++_abi_savvy folk...

I found a crasher bug while running the gdb testsuite on a COFF 
toolchain.  TYPE_VPTR_FIELDNO returned -1; I haven't looked into
this mechanism, but I assume that's a mistake.  When it was applied
via value_field, of course it yielded a garbage value.

So looking at coffread.c, I see that there are no references
to vptr_fieldno nor vptr_basetype -- these fields are never
initialized.

I'm just wondering where to go from here.  Is it possible to 
obtain these values from COFF?  If not, perhaps their access
methods should check for an invalid value?

Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]