>>>>> "David" == David Malcolm <dmalc...@redhat.com> writes:
David> I've committed the following to trunk as r205085, as a mixture of
David> enabling work towards gdb being able to print vec<>, and to fix issues
David> where the string-matching logic got confused by typedefs (done in a
David> rather crude way, by supporting multiple strings in the match, but it
David> works).

FWIW for the libstdc++ printers what we do is strip typedefs and
qualifiers to find the type whose name we want to match:

        # Get the unqualified type, stripped of typedefs.
        type = type.unqualified ().strip_typedefs ()

Tom

Reply via email to