This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: GDB and typedefs
A tangential problem but one related at least morally is C++ superclasses.
I have:
class foo : public std::map<blah, blah> { ... };
When a variable has type std::map<blah, blah>, I get nice pretty printing.
But for a variable of type foo, I get traditional printing with "members of
std::map<blah, blah>" at the front.
I imagine I could coax it with a manual pointer cast or something, though
I think I've had some trouble with template class names. But it seems
natural that when it knows to say "members of foobar: ..." and it would
know something fancy to say for "foobar", that it would use the fanciness
for "member of foobar: ..." too.
Thanks,
Roland