https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932

--- Comment #22 from Martin Sebor <msebor at gcc dot gnu.org> ---
Paul, have you considered determining the type of the specialization of the
template from an object of one instead of hardcoding its name?

I.e., instead of calling gdb.lookup_type("TreeVector<Pod, 2u>::Tree") in your
Python printer script, use something like gdb.lookup_type(str(vector.type) %
"::Tree")?  (I couldn't get this to work but I could have done something
wrong.)

Reply via email to