Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* crasher in C++ ABI code
@ 2002-09-12 17:23 Michael Snyder
  2002-09-12 17:34 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Snyder @ 2002-09-12 17:23 UTC (permalink / raw)
  To: gdb-patches; +Cc: jimb, drow

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-13  1:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-12 17:23 crasher in C++ ABI code Michael Snyder
2002-09-12 17:34 ` Daniel Jacobowitz
2002-09-12 18:02   ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox