This is the mail archive of the
mailing list for the Archer project.
Re: [patch] Fix glitches with libstdc++ pretty printers
On Thu, Dec 18, 2008 at 5:39 PM, Paul Pluzhnikov <firstname.lastname@example.org> wrote:
> Am I missing an easier way to solve this use case?
Hmm, an easy way to solve this would be to say that if Foo inherits
from Bar, and if Bar has a pretty-printer but Foo doesn't, then
the Bar pretty-printer is used.
With that, I only need to define one pretty-printer :)
But I can see how this could be undesirable for other inheritance
Perhaps a better idea is to introduce a separate list:
gdb.inheritable_pretty_printers or some such?