mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 12:00:03 -05:00
Under some circumstances the type.name of a pair<> type starts with "struct". This confuses GDB when we use gdb.lookup_type for the name of template specialization using "struct pair<...>" in its template argument list. Using type.tag avoids this problem. libstdc++-v3/ChangeLog: PR libstdc++/122812 * python/libstdcxx/v6/printers.py (lookup_templ_spec): Use gdb.Type.tag if present.