This is the mail archive of the gdb@sourceware.org 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]

Re: cast in gdb python results in virtual baseclass botch


>>>>> "Christoph" == Christoph Mathys <eraserix@gmail.com> writes:

Christoph> RuntimeError: virtual baseclass botch

Christoph> I use gdb 7.2, which apparently does not yet support dynamic_cast().

Christoph> Both variables are stored inside a boost::shared_ptr, and I try to
Christoph> cast to contained interface pointer to a specific implementation
Christoph> pointer.

Can you make a small, self-contained example program showing the bug?
That would be very helpful.

I am not sure under what circumstances "virtual baseclass botch" can
show up.  The code is obscure.

Tom


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