This is the mail archive of the gdb-patches@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: [5/5] reimplement 'set print vtbl on'


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> Yeah, from:
[...]
Pedro> it seems to me that with older gccs this wasn't just printing the
Pedro> pointer to the vtable, but it was also printing the vtable
Pedro> array itself, including all its elements.

Yeah.  It wasn't clear to me initially but I see I was confused about
what was going on.

I could implement this instead, I suppose.  I prefer what I've done,
though, I think printing the vtables in the objects is going to be ugly;
but I am open to suggestions.

I can also leave the old code lying around.  I would imagine that many
of gdb's C++ features are already broken against such an old compiler
already, but I don't know for sure.

Tom


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