Re: protection from dangling pointers in dwarf info when .so's go away

Daniel Jacobowitz
2007-12-13T13:19:16Z

On Thu, Dec 13, 2007 at 12:16:36AM -0800, Doug Evans wrote:
> What happens if TYPE_OBJFILE (type) != TYPE_OBJFILE
> (TYPE_VPTR_BASETYPE (baseclass)) ?

Precisely what you saw, but how does this happen? The baseclass links
should normally point through to other types in the same objfile.

I'm guessing that there was inadequate debug info for a base class,
leading GDB to do name resolution into a shared library with better
debug info (probably because it defined the class's key method)?

--
Daniel Jacobowitz
CodeSourcery