Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

Gleb Natapov
2010-11-24T18:10:11Z

On Wed, Nov 24, 2010 at 07:50:44PM +0200, Avi Kivity wrote:
> On 11/24/2010 07:43 PM, Gleb Natapov wrote:
> >> >Explicit code means you know what is going on, it means you can debug it
> >> >in gdb and match it. That is a *good* thing!
> >>
> >> Implicit code means that you don't need to debug it. The compiler
> >> gets it right every time.
> >>
> >Best joke ever!
>
> Do you encounter many compiler bugs in your daily work?
>
Bug can still be yours but all this virtual inheritance make it much
harder to understand what happens. How is support for C++ debugging in
gdb this days? Can gdb tell type of object from object instance?

--
Gleb.